From e817a7bacb208f946ee1f0be4b2291875dede571 Mon Sep 17 00:00:00 2001 From: dborth Date: Tue, 19 Oct 2010 21:42:11 +0000 Subject: [PATCH] fix lang toggle --- source/menu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/menu.cpp b/source/menu.cpp index 544ae89..99ffdbb 100644 --- a/source/menu.cpp +++ b/source/menu.cpp @@ -3323,6 +3323,9 @@ static int MenuSettingsMenu() break; case 5: GCSettings.language++; + + if(GCSettings.language >= LANG_LENGTH) + GCSettings.language = LANG_JAPANESE; if(GCSettings.language == LANG_SIMP_CHINESE) GCSettings.language = LANG_PORTUGUESE;