X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fglob.c;h=235399c0be300779e1cbdafcc5a2f4bc61f8d76f;hb=b01483eff69406430b88704dc13140bef3149f4d;hp=b7ec50a37b18356fc0a4f7eb10fd597dd6286886;hpb=eaf83d4cae00ae2e2ccccc3c02d5262330a31c8a;p=pspp diff --git a/src/glob.c b/src/glob.c index b7ec50a37b..235399c0be 100644 --- a/src/glob.c +++ b/src/glob.c @@ -133,7 +133,9 @@ init_glob (int argc unused, char **argv) { /* FIXME: Allow i18n of other locale items (besides LC_MESSAGES). */ #if ENABLE_NLS +#if LC_MESSAGE setlocale (LC_MESSAGES, ""); +#endif setlocale (LC_MONETARY, ""); bindtextdomain (PACKAGE, locale_dir); textdomain (PACKAGE);