Navigation Menu

Skip to content

Commit

Permalink
Fixed|UI|Client: Show buttons in the fatal error message box
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Feb 25, 2020
1 parent 2026c3a commit 6e08684
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doomsday/apps/client/src/ui/nativeui.cpp
Expand Up @@ -111,7 +111,8 @@ int Sys_MessageBox3(messageboxtype_t type,
buttonData.push_back(
SDL_MessageBoxButtonData{SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT, 0, "OK"});
}
box.buttons = buttonData.data();
box.buttons = buttonData.data();
box.numbuttons = int(buttonData.size());
int rc;
SDL_ShowMessageBox(&box, &rc);
return rc;
Expand Down

0 comments on commit 6e08684

Please sign in to comment.