fix off-by-one

This commit is contained in:
Glenn Maynard
2006-01-28 03:19:21 +00:00
parent 1b4ce04331
commit 2c9cfd46ee
+1 -1
View File
@@ -1375,7 +1375,7 @@ void ScreenEdit::InputEdit( const InputEventPlus &input, EditButton EditB )
GAMEMAN->StepsTypeToString( pSteps->m_StepsType ).c_str(),
DifficultyToString( pSteps->GetDifficulty() ).c_str(),
pSteps->GetDescription().c_str(),
it - vSteps.begin(),
it - vSteps.begin() + 1,
int(vSteps.size()) );
SCREENMAN->SystemMessage( s );
m_soundSwitch.Play();