summaryrefslogtreecommitdiff
path: root/Ports/SDL2/patches
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-07-14 20:17:46 +0200
committerLinus Groh <mail@linusgroh.de>2022-07-16 23:13:43 +0100
commit4cf55c40567a776a4f8264645f6e23120c9731f1 (patch)
tree586f0e9ea653a2ed4ce2a422a7986a51e4b15d3a /Ports/SDL2/patches
parent8da3914bdcd1e0af0452e95eb922484484dd2515 (diff)
downloadserenity-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.patch2
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;
+}
+