[layers] continuted work on no-layer option. No more crash.
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/layers@1141 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
3ede1f3a56
commit
110a7bdd58
@ -1286,9 +1286,12 @@ void Button_Page(void)
|
|||||||
SWAP_BYTES (Main_format,Spare_format)
|
SWAP_BYTES (Main_format,Spare_format)
|
||||||
SWAP_WORDS (Main_fileselector_position,Spare_fileselector_position)
|
SWAP_WORDS (Main_fileselector_position,Spare_fileselector_position)
|
||||||
SWAP_WORDS (Main_fileselector_offset,Spare_fileselector_offset)
|
SWAP_WORDS (Main_fileselector_offset,Spare_fileselector_offset)
|
||||||
|
|
||||||
SWAP_SHORTS(Main_current_layer,Spare_current_layer)
|
SWAP_SHORTS(Main_current_layer,Spare_current_layer)
|
||||||
SWAP_DWORDS (Main_layers_visible,Spare_layers_visible)
|
SWAP_DWORDS (Main_layers_visible,Spare_layers_visible)
|
||||||
|
|
||||||
|
Update_screen_targets();
|
||||||
|
|
||||||
// A la fin, on affiche l'écran
|
// A la fin, on affiche l'écran
|
||||||
for (factor_index=0; ZOOM_FACTOR[factor_index]!=Main_magnifier_factor; factor_index++);
|
for (factor_index=0; ZOOM_FACTOR[factor_index]!=Main_magnifier_factor; factor_index++);
|
||||||
Change_magnifier_factor(factor_index);
|
Change_magnifier_factor(factor_index);
|
||||||
|
|||||||
2
pages.c
2
pages.c
@ -959,6 +959,8 @@ void End_of_modification(void)
|
|||||||
memcpy(Visible_image[1].Image,
|
memcpy(Visible_image[1].Image,
|
||||||
Visible_image[0].Image,
|
Visible_image[0].Image,
|
||||||
Main_image_width*Main_image_height);
|
Main_image_width*Main_image_height);
|
||||||
|
#else
|
||||||
|
Update_screen_targets();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Download_infos_backup(Main_backups);
|
Download_infos_backup(Main_backups);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user