From f5ef7c9a0db9ac0a2607f6476f39898f051ecf26 Mon Sep 17 00:00:00 2001 From: evilynux Date: Wed, 18 Jul 2007 00:12:38 +0000 Subject: [PATCH] Command line translation now works, the gettext stuff needed to be called _before_ the command line parameter parsing. --- desmume/src/gtk-glade/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/gtk-glade/main.c b/desmume/src/gtk-glade/main.c index e8af6f191..ef70cc63a 100755 --- a/desmume/src/gtk-glade/main.c +++ b/desmume/src/gtk-glade/main.c @@ -612,13 +612,13 @@ common_gtk_glade_main( struct configured_features *my_config) { int main(int argc, char *argv[]) { struct configured_features my_config; - init_configured_features( &my_config); - // Localization bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); + init_configured_features( &my_config); + if (!g_thread_supported()) g_thread_init( NULL);