projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure that setlocale (LC_MESSAGES is called when appropriate.
[pspp-builds.git]
/
src
/
libpspp
/
i18n.c
diff --git
a/src/libpspp/i18n.c
b/src/libpspp/i18n.c
index 2be02f26cd58e34b883ff170d50220a88c989743..fb3973f437bb737d0ba53011596da1f844588509 100644
(file)
--- a/
src/libpspp/i18n.c
+++ b/
src/libpspp/i18n.c
@@
-190,7
+190,7
@@
i18n_init (void)
{
#if ENABLE_NLS
setlocale (LC_CTYPE, "");
-#if
HAVE_
LC_MESSAGES
+#if
def
LC_MESSAGES
setlocale (LC_MESSAGES, "");
#endif
#if HAVE_LC_PAPER