projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Revert "calling newlocale() with wc_locales[0] as the third argument causes...
[citadel.git]
/
webcit
/
gettext.c
diff --git
a/webcit/gettext.c
b/webcit/gettext.c
index 1e51e93acfc075106e1b5af2bd01205bbc5b300a..d8b48f1b123ec68ead662c7c7d6544a2f7f024de 100644
(file)
--- a/
webcit/gettext.c
+++ b/
webcit/gettext.c
@@
-283,7
+283,7
@@
void initialize_locales(void) {
wc_locales[nLocalesLoaded] = newlocale(
(LC_MESSAGES_MASK|LC_TIME_MASK),
AvailLang[i],
- wc_locales[0]
+ NULL
);
if (wc_locales[nLocalesLoaded] == NULL) {
syslog(1, "locale for %s disabled: %s", AvailLang[i], strerror(errno));