mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
Ports/SDL2: Update for the recent StringView
changes
This commit is contained in:
parent
8da3914bdc
commit
4cf55c4056
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