mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-23 19:46:34 +00:00
Codechange: use std::string for Windows' ISO code mangling
This commit is contained in:
+1
-1
@@ -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