fix the fix

This commit is contained in:
tildearrow 2024-05-29 03:40:01 -05:00
parent acdda759e4
commit d388970112

View file

@ -491,8 +491,13 @@ int main(int argc, char** argv) {
#ifdef HAVE_LOCALE
const char* localeRet=NULL;
if ((localeRet=setlocale(LC_CTYPE,""))==NULL) {
logE("could not set locale (CTYPE)!");
} else {
logV("locale: %s",localeRet);
}
if ((localeRet=setlocale(LC_MESSAGES,""))==NULL) {
logE("could not set locale!");
logE("could not set locale (MESSAGES)!");
} else {
logV("locale: %s",localeRet);
}