Reuse already established variable.

It won't change in this position.

Wonder if it should just be forced const then.
This commit is contained in:
Jason Felds
2011-12-09 21:15:29 -05:00
parent d544b50acc
commit 6d1517c9ce
+1 -1
View File
@@ -1843,7 +1843,7 @@ void ScreenEdit::InputEdit( const InputEventPlus &input, EditButton EditB )
RString s = ssprintf(
SWITCHED_TO.GetValue() + " %s %s '%s' (%d of %d)",
GAMEMAN->GetStepsTypeInfo( pSteps->m_StepsType ).szName,
GAMEMAN->GetStepsTypeInfo( st ).szName,
DifficultyToString( pSteps->GetDifficulty() ).c_str(),
pSteps->GetChartName().c_str(),
it - vSteps.begin() + 1,