Treat empty lang as "C" lang too
This commit is contained in:
parent
5db285ce81
commit
6d6923050a
@ -91,7 +91,7 @@ int type;
|
||||
lang = setlocale(LC_MESSAGES, NULL);
|
||||
else
|
||||
lang = getenv("LANG");
|
||||
if (lang == NULL || strchr(lang, '/') != NULL)
|
||||
if (lang == NULL || !*lang || strchr(lang, '/') != NULL)
|
||||
lang = "C";
|
||||
if ((nlspath = (char *) getenv("NLSPATH")) == NULL
|
||||
#ifndef __NETBSD_SYSCALLS
|
||||
|
Loading…
Reference in New Issue
Block a user