This commit is contained in:
staviq 2023-10-19 21:49:09 +02:00
parent 9eab8b69dd
commit 5616b439df

View file

@ -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);