From 959fa185c34347bc855f13528ba93302260fd4a2 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 8 May 2023 14:30:22 +0200 Subject: [PATCH] Fix compilation error from fa2171503be7c07b3e4bc3a9993368ab9b0a2428 --- Source/Engine/Platform/Linux/LinuxPlatform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/Platform/Linux/LinuxPlatform.cpp b/Source/Engine/Platform/Linux/LinuxPlatform.cpp index b8ebb5e1c..8015162ec 100644 --- a/Source/Engine/Platform/Linux/LinuxPlatform.cpp +++ b/Source/Engine/Platform/Linux/LinuxPlatform.cpp @@ -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);