fix a crash on themes which use the detail lines on ScreenEvaluation

This commit is contained in:
AJ Kelly
2011-03-17 18:22:31 -05:00
parent 661a1b8910
commit 8892ad3078
+1 -2
View File
@@ -30,7 +30,6 @@
#include "ScoreKeeperNormal.h"
#include "InputEventPlus.h"
// metrics that are common to all ScreenEvaluation classes
#define BANNER_WIDTH THEME->GetMetricF(m_sName,"BannerWidth")
#define BANNER_HEIGHT THEME->GetMetricF(m_sName,"BannerHeight")
@@ -45,7 +44,7 @@ LuaFunction( JudgmentLineToLocalizedString, JudgmentLineToLocalizedString(Enum::
static const char *DetailLineNames[NUM_DetailLine] =
{
"NumSteps","Jumps", "Holds", "Mines", "Hands", "Rolls",
"NumSteps","Jumps", "Holds", "Mines", "Hands", "Rolls", "Lifts", "Fakes"
};
XToString( DetailLine );
#define DETAILLINE_FORMAT THEME->GetMetric (m_sName,"DetailLineFormat")