diff --git a/src/main.cpp b/src/main.cpp index c01a5eb..5af499f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,7 +40,7 @@ int main(int argc, char** argv) { LOG_INFO("Initialising M.A.S.S. Builder Save Tool version " SAVETOOL_VERSION "."); - auto str = std::setlocale(LC_ALL, ".utf-8"); + auto str = setlocale(LC_ALL, ".utf-8"); if(str) { Containers::StringView locale{str}; LOG_INFO_FORMAT("Current locale: {}", locale);