1
0
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:
cc9cii 2014-03-30 17:23:22 +11:00
parent 512ee1204e
commit d04bb3befb

View File

@ -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];