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
This commit is contained in:
Yves Rizoud 2009-01-24 15:19:28 +00:00
parent bcc835f251
commit 840d26cd17

View File

@ -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();