Codechange: let convert_to_fs accept std::string

This commit is contained in:
Rubidium
2023-04-27 16:19:03 +02:00
committed by rubidium42
parent b5f96808a1
commit df19673fbd
2 changed files with 6 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ private:
};
char *convert_from_fs(const wchar_t *name, char *utf8_buf, size_t buflen);
wchar_t *convert_to_fs(const char *name, wchar_t *utf16_buf, size_t buflen);
wchar_t *convert_to_fs(const std::string_view name, wchar_t *utf16_buf, size_t buflen);
void Win32SetCurrentLocaleName(const char *iso_code);
int OTTDStringCompare(const char *s1, const char *s2);