Fix dummy locale on Linux

This commit is contained in:
Wojtek Figat
2021-04-14 12:27:48 +02:00
parent 7b2c034fba
commit 7bc0e3c14d

View File

@@ -1609,6 +1609,8 @@ bool LinuxPlatform::Init()
// Get user locale string
char* locale = setlocale(LC_ALL, NULL);
if (strcmp (locale, "C") == 0)
locale = "";
UserLocale = String(locale);
// Get computer name string