fmt
This commit is contained in:
parent
9eab8b69dd
commit
5616b439df
|
|
@ -113,7 +113,7 @@ namespace console {
|
|||
|
||||
auto locale = setlocale(LC_ALL, "");
|
||||
auto lang = getenv("LANG");
|
||||
|
||||
|
||||
if (locale == nullptr) {
|
||||
if (lang != nullptr) {
|
||||
setlocale(LC_ALL, lang);
|
||||
|
|
|
|||
Loading…
Reference in New Issue