Layer-specific: Fixed possible double free on exit. Removed unused global pointer. Implemented proper backup (history) before the various Copy-to-spare actions, fixing a severe history bug when using layers (issue 270). Grafx2 no longer asks 'Spare page was modified, continue?' on Spare modifications. Fixed missing screen refresh in Copy-to-spare (issue 293). Fixed the save-on-crash to actually save the spare

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1282 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-01-26 02:23:44 +00:00
parent 4ddcd01730
commit c04dbcb19a
7 changed files with 139 additions and 46 deletions

4
main.c
View File

@@ -848,10 +848,6 @@ void Program_shutdown(void)
free(Brush);
Brush = NULL;
Set_number_of_backups(0);
free(Spare_screen);
Spare_screen = NULL;
free(Main_screen);
Main_screen = NULL;
// Free the skin (Gui graphics) data
free(Gfx);