diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/locale/dcngettext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/dcngettext.c b/src/locale/dcngettext.c index 0057cb56..30dd41d4 100644 --- a/src/locale/dcngettext.c +++ b/src/locale/dcngettext.c @@ -132,7 +132,7 @@ char *dcngettext(const char *domainname, const char *msgid1, const char *msgid2, switch (category) { case LC_MESSAGES: locname = loc->messages_name; - if (!*locname) goto notrans; + if (!locname || !*locname) goto notrans; break; case LC_TIME: case LC_MONETARY: |