summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2002-08-21 13:10:44 +0200
committerWerner Koch <wk@gnupg.org>2002-08-21 13:10:44 +0200
commitafc40938ec282d51239aa6a8aea0f94a1b652b0b (patch)
tree621d5ca5400b43aa359758ec249501eec57a93fb
parent* scdaemon.c (main): New option --daemon so that the program is (diff)
downloadgnupg2-afc40938ec282d51239aa6a8aea0f94a1b652b0b.tar.xz
gnupg2-afc40938ec282d51239aa6a8aea0f94a1b652b0b.zip
use setlocale().
-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
}