diff --git a/stepmania/src/ScreenSelectGroup.cpp b/stepmania/src/ScreenSelectGroup.cpp index c798c0a6a1..9ebe1a3e36 100644 --- a/stepmania/src/ScreenSelectGroup.cpp +++ b/stepmania/src/ScreenSelectGroup.cpp @@ -208,24 +208,23 @@ ScreenSelectGroup::ScreenSelectGroup() for( int r=0; r= aSongs.GetSize() ) + continue; + + if( c == TITLES_COLUMNS-1 && r == TITLES_ROWS-1 ) { - if( c == TITLES_COLUMNS-1 && r == TITLES_ROWS-1 ) - { - sText += ssprintf( "%d more.....", aSongs.GetSize() - TITLES_COLUMNS * TITLES_ROWS - 1 ); - } - else - { - CString sTitle = aSongs[iIndex]->GetFullTitle(); - // TODO: Move this crop threshold into a theme metric or make automatic based on column width - if( sTitle.GetLength() > 40 ) - { - sTitle = sTitle.Left( 37 ); - sTitle += "..."; - } - sText += sTitle + "\n"; - } + sText += ssprintf( "%d more.....", aSongs.GetSize() - TITLES_COLUMNS * TITLES_ROWS - 1 ); + continue; } + + CString sTitle = aSongs[iIndex]->GetFullTitle(); + // TODO: Move this crop threshold into a theme metric or make automatic based on column width + if( sTitle.GetLength() > 40 ) + { + sTitle = sTitle.Left( 37 ); + sTitle += "..."; + } + sText += sTitle + "\n"; } m_sContentsText[i][c] = sText; }