From 2044ee1c0d45ee8914a3735b96c028996cc2fb08 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 11 Apr 2006 22:31:47 +0000 Subject: Don't hardcode specific values for our language enums, as nothing should depend on them -- any code that is broken by this change was wrong to start with and must be fixed accordingly svn-id: r21812 --- common/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/util.cpp') diff --git a/common/util.cpp b/common/util.cpp index 94a71a8795..d07a242f97 100644 --- a/common/util.cpp +++ b/common/util.cpp @@ -112,6 +112,7 @@ uint RandomSource::getRandomNumberRng(uint min, uint max) { const LanguageDescription g_languages[] = { {"en", "English", EN_ANY}, // Generic English (when only one game version exist) {"us", "English (US)", EN_USA}, + {"gb", "English (GB)", EN_GRB}, {"de", "German", DE_DEU}, {"fr", "French", FR_FRA}, {"it", "Italian", IT_ITA}, @@ -120,7 +121,6 @@ const LanguageDescription g_languages[] = { {"jp", "Japanese", JA_JPN}, {"zh", "Chinese (Taiwan)", ZH_TWN}, {"kr", "Korean", KO_KOR}, - {"gb", "English (GB)", EN_GRB}, {"se", "Swedish", SE_SWE}, {"hb", "Hebrew", HB_ISR}, {"ru", "Russian", RU_RUS}, -- cgit v1.2.3