mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-26 11:23:43 +02:00
Fix UWP build in non-UNICODE mode
This commit is contained in:
committed by
Anonymous Maarten
parent
c59771d7fc
commit
ccebbb6c6e
@@ -34,7 +34,7 @@ using namespace Windows::Foundation;
|
||||
using namespace Windows::UI::Popups;
|
||||
|
||||
static String ^ WINRT_UTF8ToPlatformString(const char *str) {
|
||||
wchar_t *wstr = WIN_UTF8ToString(str);
|
||||
wchar_t *wstr = WIN_UTF8ToStringW(str);
|
||||
String ^ rtstr = ref new String(wstr);
|
||||
SDL_free(wstr);
|
||||
return rtstr;
|
||||
|
||||
Reference in New Issue
Block a user