mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 07:21:12 +00:00
MSVC uses C version of locale.
This commit is contained in:
parent
512ee1204e
commit
d04bb3befb
@ -259,7 +259,7 @@ namespace MWGui
|
||||
timeinfo = localtime(&time);
|
||||
|
||||
// Use system/environment locale settings for datetime formatting
|
||||
std::setlocale(LC_TIME, "");
|
||||
setlocale(LC_TIME, "");
|
||||
|
||||
const int size=1024;
|
||||
char buffer[size];
|
||||
|
Loading…
x
Reference in New Issue
Block a user