Fix compilation error from fa2171503b

This commit is contained in:
Wojtek Figat
2023-05-08 14:30:22 +02:00
parent fa2171503b
commit 959fa185c3

View File

@@ -2051,8 +2051,8 @@ bool LinuxPlatform::Init()
if (UserLocale.FindLast('.') != -1)
UserLocale = UserLocale.Left(UserLocale.Find('.'));
UserLocale.Replace('_', '-');
if (UserLocale == "C")
UserLocale = "en";
if (UserLocale == TEXT("C"))
UserLocale = TEXT("en");
// Get computer name string
gethostname(buffer, UNIX_APP_BUFF_SIZE);