Fix dummy locale on Linux
This commit is contained in:
@@ -1609,6 +1609,8 @@ bool LinuxPlatform::Init()
|
|||||||
|
|
||||||
// Get user locale string
|
// Get user locale string
|
||||||
char* locale = setlocale(LC_ALL, NULL);
|
char* locale = setlocale(LC_ALL, NULL);
|
||||||
|
if (strcmp (locale, "C") == 0)
|
||||||
|
locale = "";
|
||||||
UserLocale = String(locale);
|
UserLocale = String(locale);
|
||||||
|
|
||||||
// Get computer name string
|
// Get computer name string
|
||||||
|
|||||||
Reference in New Issue
Block a user