From 6d1517c9ce22ee986ac07760287af9e08ff05aaf Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Fri, 9 Dec 2011 21:15:29 -0500 Subject: [PATCH] Reuse already established variable. It won't change in this position. Wonder if it should just be forced const then. --- src/ScreenEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScreenEdit.cpp b/src/ScreenEdit.cpp index 8e3ef341db..8caf9b6ea0 100644 --- a/src/ScreenEdit.cpp +++ b/src/ScreenEdit.cpp @@ -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,