mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-01 21:59:11 +00:00
Ports/SDL2: Update for the recent StringView
changes
This commit is contained in:
parent
8da3914bdc
commit
4cf55c4056
Notes:
sideshowbarker
2024-07-17 08:53:15 +09:00
Author: https://github.com/timschumi
Commit: 4cf55c4056
Pull-request: https://github.com/SerenityOS/serenity/pull/14604
1 changed files with 1 additions and 1 deletions
|
@ -633,7 +633,7 @@ index 0000000..ac5e358
|
||||||
+
|
+
|
||||||
+extern "C" int SERENITY_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
|
+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;
|
+ return 0;
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue