From 2c9cfd46ee94bbcc794d54d31799b4c28bca0463 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 28 Jan 2006 03:19:21 +0000 Subject: [PATCH] fix off-by-one --- stepmania/src/ScreenEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index 33164f8edb..30b5e06d05 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -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();