Fix weird mixing of layers from main and spare pages (Issue 259)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1232 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
3
pages.c
3
pages.c
@@ -176,7 +176,7 @@ void Redraw_layered_image(void)
|
||||
{
|
||||
#ifndef NOLAYERS
|
||||
// Re-construct the image with the visible layers
|
||||
int layer;
|
||||
byte layer;
|
||||
// First layer
|
||||
for (layer=0; layer<Main_backups->Pages->Nb_layers; layer++)
|
||||
{
|
||||
@@ -950,7 +950,6 @@ void Exchange_main_and_spare(void)
|
||||
Download_infos_page_main(Main_backups->Pages);
|
||||
Download_infos_backup(Main_backups);
|
||||
Download_infos_page_spare(Spare_backups->Pages);
|
||||
Redraw_layered_image();
|
||||
}
|
||||
|
||||
void End_of_modification(void)
|
||||
|
||||
Reference in New Issue
Block a user