From 840d26cd17bed052cd96780d8a85733308242694 Mon Sep 17 00:00:00 2001 From: Yves Rizoud Date: Sat, 24 Jan 2009 15:19:28 +0000 Subject: [PATCH] Fixed: When the last resize was by the 'safe resolution' button, on exit the program recorded the previous window size instead. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@553 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- boutons.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boutons.c b/boutons.c index ad47dd92..8e4de8ef 100644 --- a/boutons.c +++ b/boutons.c @@ -1650,6 +1650,8 @@ void Bouton_Safety_resol(void) Desenclencher_bouton(BOUTON_LOUPE); Initialiser_mode_video(640, 400, 0); Resolution_actuelle=0; + Mode_video[0].Largeur = Largeur_ecran*Pixel_width; + Mode_video[0].Hauteur = Hauteur_ecran*Pixel_height; Afficher_menu(); Afficher_ecran();