early-access version 1667
This commit is contained in:
4
externals/SDL/src/misc/windows/SDL_sysurl.c
vendored
4
externals/SDL/src/misc/windows/SDL_sysurl.c
vendored
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
Simple DirectMedia Layer
|
||||
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
|
||||
Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
@@ -37,7 +37,7 @@ SDL_SYS_OpenURL(const char *url)
|
||||
return WIN_SetErrorFromHRESULT("CoInitialize failed", hr);
|
||||
}
|
||||
|
||||
wurl = WIN_UTF8ToString(url);
|
||||
wurl = WIN_UTF8ToStringW(url);
|
||||
if (wurl == NULL) {
|
||||
WIN_CoUninitialize();
|
||||
return SDL_OutOfMemory();
|
||||
|
Reference in New Issue
Block a user