Fix Linux build

This commit is contained in:
Wojtek Figat
2021-04-30 17:03:40 +02:00
parent c785f9106b
commit 167f7e268d
4 changed files with 8 additions and 6 deletions

View File

@@ -2031,8 +2031,8 @@ bool LinuxPlatform::Init()
char buffer[UNIX_APP_BUFF_SIZE];
// Get user locale string
char* locale = setlocale(LC_ALL, NULL);
if (strcmp (locale, "C") == 0)
const char* locale = setlocale(LC_ALL, NULL);
if (strcmp(locale, "C") == 0)
locale = "";
UserLocale = String(locale);