Codechange: use std::string for Windows' ISO code mangling

This commit is contained in:
Rubidium
2023-06-07 06:57:15 +02:00
committed by rubidium42
parent a541b8217d
commit b2a8d8aea4
2 changed files with 9 additions and 11 deletions

View File

@@ -1887,7 +1887,7 @@ bool ReadLanguagePack(const LanguageMetadata *lang)
SetCurrentGrfLangID(_current_language->newgrflangid);
#ifdef _WIN32
extern void Win32SetCurrentLocaleName(const char *iso_code);
extern void Win32SetCurrentLocaleName(std::string iso_code);
Win32SetCurrentLocaleName(_current_language->isocode);
#endif