X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fgettext.c;h=d8b48f1b123ec68ead662c7c7d6544a2f7f024de;hb=de6c1a9a2d95a3deff2014bfb8e54020828d9519;hp=1e51e93acfc075106e1b5af2bd01205bbc5b300a;hpb=4eabd9c189662cd5e3222e1aabedcc3f8782450a;p=citadel.git diff --git a/webcit/gettext.c b/webcit/gettext.c index 1e51e93ac..d8b48f1b1 100644 --- 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));