[Tux4kids-commits] r622 - tuxtype/trunk/src
mobin-guest at alioth.debian.org
mobin-guest at alioth.debian.org
Thu Aug 14 05:30:21 UTC 2008
Author: mobin-guest
Date: 2008-08-14 05:30:20 +0000 (Thu, 14 Aug 2008)
New Revision: 622
Modified:
tuxtype/trunk/src/globals.h
tuxtype/trunk/src/setup.c
Log:
Gettext : Fixed Bug in loading the English theme
Modified: tuxtype/trunk/src/globals.h
===================================================================
--- tuxtype/trunk/src/globals.h 2008-08-13 22:35:11 UTC (rev 621)
+++ tuxtype/trunk/src/globals.h 2008-08-14 05:30:20 UTC (rev 622)
@@ -98,7 +98,7 @@
/* They can be changed in the struct to other values at run-time */
#define DEFAULT_MENU_FONT "AndikaDesRevG.ttf"
#define DEFAULT_GAME_FONT "AndikaDesRevG.ttf"
-#define DEFAULT_LOCALE "en_US"
+#define DEFAULT_LOCALE "en_GB.UTF-8"
#define DEFAULT_USE_ENGLISH 1
#define DEFAULT_FULLSCREEN 1
#define DEFAULT_SYS_SOUND 1
Modified: tuxtype/trunk/src/setup.c
===================================================================
--- tuxtype/trunk/src/setup.c 2008-08-13 22:35:11 UTC (rev 621)
+++ tuxtype/trunk/src/setup.c 2008-08-14 05:30:20 UTC (rev 622)
@@ -436,6 +436,7 @@
{
settings.use_english = 1; // default is to use English if we cannot find theme
strcpy(settings.theme_name, "");
+ strncpy(settings.theme_locale_name, DEFAULT_LOCALE,FNLEN);
}
More information about the Tux4kids-commits
mailing list