mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-15 08:22:34 +01:00
Codechange: use std::string for Windows' ISO code mangling
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user