mirror of https://github.com/odrling/Aegisub
utils: work around missing C++11 char16_t overload in wx string conversion
This commit is contained in:
parent
5f06eb3376
commit
34fa9af482
|
@ -275,7 +275,7 @@ wxString LocalizedLanguageName(wxString const& lang) {
|
|||
icu::UnicodeString ustr;
|
||||
iculoc.getDisplayName(iculoc, ustr);
|
||||
#ifdef _MSC_VER
|
||||
return wxString(ustr.getBuffer());
|
||||
return wxString((const wchar_t*)ustr.getBuffer());
|
||||
#else
|
||||
std::string utf8;
|
||||
ustr.toUTF8String(utf8);
|
||||
|
|
Loading…
Reference in New Issue