Fix fullscreen notification "don't ask again", closes #948
This commit is contained in:
@@ -1587,7 +1587,7 @@ save_general(void)
|
|||||||
else
|
else
|
||||||
config_set_int(cat, "video_fullscreen_scale", video_fullscreen_scale);
|
config_set_int(cat, "video_fullscreen_scale", video_fullscreen_scale);
|
||||||
|
|
||||||
if (video_fullscreen_first == 0)
|
if (video_fullscreen_first == 1)
|
||||||
config_delete_var(cat, "video_fullscreen_first");
|
config_delete_var(cat, "video_fullscreen_first");
|
||||||
else
|
else
|
||||||
config_set_int(cat, "video_fullscreen_first", video_fullscreen_first);
|
config_set_int(cat, "video_fullscreen_first", video_fullscreen_first);
|
||||||
|
@@ -790,8 +790,10 @@ plat_setfullscreen(int on)
|
|||||||
if (on && video_fullscreen) return;
|
if (on && video_fullscreen) return;
|
||||||
|
|
||||||
if (on && video_fullscreen_first) {
|
if (on && video_fullscreen_first) {
|
||||||
if (ui_msgbox_header(MBX_INFO | MBX_DONTASK, (wchar_t *) IDS_2134, (wchar_t *) IDS_2052) == 10)
|
if (ui_msgbox_header(MBX_INFO | MBX_DONTASK, (wchar_t *) IDS_2134, (wchar_t *) IDS_2052) == 10) {
|
||||||
video_fullscreen_first = 0;
|
video_fullscreen_first = 0;
|
||||||
|
config_save();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OK, claim the video. */
|
/* OK, claim the video. */
|
||||||
|
Reference in New Issue
Block a user