From 15a60d7f9d6d6191dcceecb6732217a225837f9a Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 16 Oct 2006 08:27:49 +0000 Subject: [PATCH] Once CurrentStringIndex is equal to MAX_RANKING_NAME_LENGTH, it isn't going to change so break. --- stepmania/src/ScreenNameEntry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ScreenNameEntry.cpp b/stepmania/src/ScreenNameEntry.cpp index e20d6c34ef..42e04845e2 100644 --- a/stepmania/src/ScreenNameEntry.cpp +++ b/stepmania/src/ScreenNameEntry.cpp @@ -191,7 +191,7 @@ void ScreenNameEntry::Init() for( int iCol=0; iColm_iColsPerPlayer; iCol++ ) { if( CurrentStringIndex == MAX_RANKING_NAME_LENGTH ) - continue; /* We have enough columns. */ + break; /* We have enough columns. */ /* Find out if this column is associated with the START menu button. */ GameInput gi = GAMESTATE->GetCurrentStyle()->StyleInputToGameInput( iCol, p );