diff --git a/src/config.c b/src/config.c index 9aead9a0f..781bdd412 100644 --- a/src/config.c +++ b/src/config.c @@ -1587,7 +1587,7 @@ save_general(void) else 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"); else config_set_int(cat, "video_fullscreen_first", video_fullscreen_first); diff --git a/src/win/win.c b/src/win/win.c index 6a2d685ea..9fe724dcd 100644 --- a/src/win/win.c +++ b/src/win/win.c @@ -790,8 +790,10 @@ plat_setfullscreen(int on) if (on && video_fullscreen) return; 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; + config_save(); + } } /* OK, claim the video. */