From 8d5a272d99010291448679c607d5a188fb430d31 Mon Sep 17 00:00:00 2001 From: Kyzentun Date: Tue, 10 Feb 2015 13:54:33 -0700 Subject: [PATCH] Fixed ScreenEvaluationSummary to not run off the end of its banner list if over 5 songs were played. Added Alejandro to translation credits. --- Themes/_fallback/Scripts/04 CreditsHelpers.lua | 3 ++- src/ScreenEvaluation.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Themes/_fallback/Scripts/04 CreditsHelpers.lua b/Themes/_fallback/Scripts/04 CreditsHelpers.lua index 02f121acd9..185e032a24 100644 --- a/Themes/_fallback/Scripts/04 CreditsHelpers.lua +++ b/Themes/_fallback/Scripts/04 CreditsHelpers.lua @@ -50,8 +50,9 @@ local stepmania_credits= { { name= "Translators", "John Reactor (Polish)", - "Jarosław Pietras (Polish)", + "Jarosław Pietras (Polish update for 5.0.5)", "DHalens (Spanish)", + "Alejandro G. de la Muñoza (Spanish update for 5.0.5)", "@Niler_jp (Japanese)", "Deamon007 (Dutch)" }, diff --git a/src/ScreenEvaluation.cpp b/src/ScreenEvaluation.cpp index 7a0ffec00a..4bbf75fc84 100644 --- a/src/ScreenEvaluation.cpp +++ b/src/ScreenEvaluation.cpp @@ -258,7 +258,8 @@ void ScreenEvaluation::Init() { if( SUMMARY ) { - for( unsigned i=0; im_vpPlayedSongs.size(); i++ ) + for( size_t i=0; im_vpPlayedSongs.size() + && i < MAX_SONGS_TO_SHOW; i++ ) { Song *pSong = m_pStageStats->m_vpPlayedSongs[i];