From 68263efe12e74f755b7eade9c798369005438333 Mon Sep 17 00:00:00 2001 From: Colby Klein Date: Wed, 17 Oct 2012 12:51:13 -0700 Subject: [PATCH] I'm not sure why I thought MAX was a macro. Oops. --- src/ScreenEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScreenEdit.cpp b/src/ScreenEdit.cpp index ee969358b1..bc3ca78d76 100644 --- a/src/ScreenEdit.cpp +++ b/src/ScreenEdit.cpp @@ -4057,7 +4057,7 @@ static void ChangeStepCredit( const RString &sNew ) static void ChangeStepMeter( const RString &sNew ) { int diff = StringToInt(sNew); - GAMESTATE->m_pCurSteps[PLAYER_1]->SetMeter(MAX(diff, 1)); + GAMESTATE->m_pCurSteps[PLAYER_1]->SetMeter(max(diff, 1)); } static void ChangeMainTitle( const RString &sNew )