mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
fix boost.locale crash on macOS-arm64
This commit is contained in:
committed by
Arseniy Shestakov
parent
094486eec1
commit
bc1d99431d
@@ -654,7 +654,7 @@ namespace VCMIDirs
|
||||
static bool initialized = false;
|
||||
if (!initialized)
|
||||
{
|
||||
#ifndef VCMI_ANDROID
|
||||
#ifdef VCMI_WINDOWS
|
||||
std::locale::global(boost::locale::generator().generate("en_US.UTF-8"));
|
||||
#endif
|
||||
boost::filesystem::path::imbue(std::locale());
|
||||
|
||||
Reference in New Issue
Block a user