Resolution screen: Fixed a problem where it didn't find the current resolution, when using tall/wide/double pixels. If the cursor was not visible and you pressed OK anyway, it could crash.

Resolution changes: No longer reset the mouse cursor in center of screen.
Emergency save: When you run grafx2 again, the recovered images are now marked as modified (grafx2 will ask you to save before quit)



git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@646 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-02-20 20:12:27 +00:00
parent 58b793933c
commit aa7d13a3fc
3 changed files with 17 additions and 11 deletions

4
main.c
View File

@@ -666,6 +666,7 @@ int main(int argc,char * argv[])
strcpy(Principal_Nom_fichier,"phoenix2.img");
chdir(Principal_Repertoire_fichier);
Bouton_Reload();
Principal_Image_modifiee=1;
Warning_message("Spare page recovered");
// I don't really like this, but...
remove(Nom_du_fichier_Phoenix2);
@@ -677,6 +678,7 @@ int main(int argc,char * argv[])
strcpy(Principal_Nom_fichier,"phoenix.img");
chdir(Principal_Repertoire_fichier);
Bouton_Reload();
Principal_Image_modifiee=1;
Warning_message("Main page recovered");
// I don't really like this, but...
remove(Nom_du_fichier_Phoenix);
@@ -686,7 +688,7 @@ int main(int argc,char * argv[])
{
if (Config.Opening_message && (!Un_fichier_a_ete_passe_en_parametre))
Bouton_Message_initial();
//free(Logo_GrafX2); // Utilisé dans le About
free(Logo_GrafX2); // Pas encore utilisé dans le About
if (Un_fichier_a_ete_passe_en_parametre)
{