mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
do not set the locale on Windows due to problems with toupper
behaviour
This commit is contained in:
parent
11f958a17d
commit
4aab690db3
@ -52,8 +52,12 @@ int main(int argc, char **argv)
|
|||||||
myargc = argc;
|
myargc = argc;
|
||||||
myargv = argv;
|
myargv = argv;
|
||||||
|
|
||||||
|
// Do not set the locale on Windows due to problems with `toupper` behaviour
|
||||||
|
// https://github.com/fabiangreffrath/woof/pull/1630#issuecomment-2026917711
|
||||||
|
#ifndef _WIN32
|
||||||
// Print date and time in the Load/Save Game menus in the current locale
|
// Print date and time in the Load/Save Game menus in the current locale
|
||||||
setlocale(LC_TIME, "");
|
setlocale(LC_TIME, "");
|
||||||
|
#endif
|
||||||
|
|
||||||
I_Printf(VB_ALWAYS, "%s (built on %s)\n", PROJECT_STRING, version_date);
|
I_Printf(VB_ALWAYS, "%s (built on %s)\n", PROJECT_STRING, version_date);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user