Fix and improve fullscreen exit notice (also introducing MBX_DONTASK for "don't show this message again")

This commit is contained in:
RichardG867
2020-06-18 21:46:28 -03:00
parent 0a6e3ee1e2
commit 3539c4f465
6 changed files with 16 additions and 7 deletions

View File

@@ -789,8 +789,8 @@ plat_setfullscreen(int on)
if (on && video_fullscreen) return;
if (on && video_fullscreen_first) {
video_fullscreen_first = 0;
ui_msgbox(MBX_INFO, (wchar_t *)IDS_2052);
if (ui_msgbox_header(MBX_INFO | MBX_DONTASK, (wchar_t *) IDS_2134, (wchar_t *) IDS_2052) == 10)
video_fullscreen_first = 0;
}
/* OK, claim the video. */