diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-07-14 20:17:46 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-07-16 23:13:43 +0100 |
commit | 4cf55c40567a776a4f8264645f6e23120c9731f1 (patch) | |
tree | 586f0e9ea653a2ed4ce2a422a7986a51e4b15d3a /Ports/SDL2/patches | |
parent | 8da3914bdcd1e0af0452e95eb922484484dd2515 (diff) | |
download | serenity-4cf55c40567a776a4f8264645f6e23120c9731f1.zip |
Ports/SDL2: Update for the recent `StringView` changes
Diffstat (limited to 'Ports/SDL2/patches')
-rw-r--r-- | Ports/SDL2/patches/0001-Add-SerenityOS-platform-support.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/SDL2/patches/0001-Add-SerenityOS-platform-support.patch b/Ports/SDL2/patches/0001-Add-SerenityOS-platform-support.patch index 7ef842fd94..721ee0af1b 100644 --- a/Ports/SDL2/patches/0001-Add-SerenityOS-platform-support.patch +++ b/Ports/SDL2/patches/0001-Add-SerenityOS-platform-support.patch @@ -633,7 +633,7 @@ index 0000000..ac5e358 + +extern "C" int SERENITY_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid) +{ -+ GUI::MessageBox::show(nullptr, messageboxdata->message, messageboxdata->title); ++ GUI::MessageBox::show(nullptr, { messageboxdata->message, strlen(messageboxdata->message) }, { messageboxdata->title, strlen(messageboxdata->title) }); + return 0; +} + |