From 7bc0e3c14d6dc282703eb8d2e1e0ed160b3339f4 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 14 Apr 2021 12:27:48 +0200 Subject: [PATCH] Fix dummy locale on Linux --- Source/Engine/Platform/Linux/LinuxPlatform.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Engine/Platform/Linux/LinuxPlatform.cpp b/Source/Engine/Platform/Linux/LinuxPlatform.cpp index a49d655dd..5033385fd 100644 --- a/Source/Engine/Platform/Linux/LinuxPlatform.cpp +++ b/Source/Engine/Platform/Linux/LinuxPlatform.cpp @@ -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