mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-01 10:32:40 +00:00
fix the fix
This commit is contained in:
parent
acdda759e4
commit
d388970112
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue