From b7d248e91e818339bd948a1b31a162db290c59da Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Tue, 17 Sep 2013 09:32:16 +0200 Subject: [PATCH] NLS related fixes in main() --- src/astrognome.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/astrognome.c b/src/astrognome.c index 34e5476..19cef32 100644 --- a/src/astrognome.c +++ b/src/astrognome.c @@ -63,10 +63,11 @@ main(int argc, char *argv[]) AgApp *app; GError *err = NULL; - setlocale(LC_ALL, ""); +#ifdef ENABLE_NLS bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); textdomain(GETTEXT_PACKAGE); +#endif gswe_init();