mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +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: https://github.com/SerenityOS/serenity/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)
|
||||
+{
|
||||
+ GUI::MessageBox::show(nullptr, messageboxdata->message, messageboxdata->title);
|
||||
+ GUI::MessageBox::show(nullptr, { messageboxdata->message, strlen(messageboxdata->message) }, { messageboxdata->title, strlen(messageboxdata->title) });
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
|
|
Loading…
Reference in a new issue