Fix crash when only one song is installed.

Namespace fix, remove unused headers.
This commit is contained in:
Glenn Maynard
2003-10-22 23:33:49 +00:00
parent e962e8830a
commit 618dad7339
+1 -5
View File
@@ -20,10 +20,8 @@
#include "PrefsManager.h"
#include "NoteData.h"
#include "NoteDataUtil.h"
#include "ScoreKeeperMAX2.h"
#include "ScoreKeeper5th.h"
int g_iLastSongShown = 0;
static int g_iLastSongShown = 0;
#define CATEGORY_X THEME->GetMetricF("ScreenRanking","CategoryX")
@@ -93,8 +91,6 @@ const ScreenMessage SM_HidePage = (ScreenMessage)(SM_User+68);
ScreenRanking::ScreenRanking( CString sClassName ) : ScreenAttract( sClassName )
{
g_iLastSongShown++;
this->AddChild( &m_sprCategory );
this->AddChild( &m_banner );