summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scd/scdaemon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index bc4a1e140..b63b59c5b 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -137,9 +137,9 @@ i18n_init (void)
set_gettext_file( PACKAGE );
#else
#ifdef ENABLE_NLS
- /* gtk_set_locale (); HMMM: We have not yet called gtk_init */
- bindtextdomain( PACKAGE, LOCALEDIR );
- textdomain( PACKAGE );
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
#endif
#endif
}