fix after rebase

This commit is contained in:
Thomas Bernard
2018-01-23 10:08:35 +01:00
parent 9fafd0173f
commit 76f3860712
3 changed files with 7 additions and 7 deletions

View File

@@ -863,8 +863,8 @@ void Load_image(T_IO_Context *context)
// Make a backup step
Backup_layers(LAYER_NONE);
// Copy the loaded palette
memcpy(Main_palette, context->Palette, sizeof(T_Palette));
memcpy(Main_backups->Pages->Palette, context->Palette, sizeof(T_Palette));
memcpy(Main.palette, context->Palette, sizeof(T_Palette));
memcpy(Main.backups->Pages->Palette, context->Palette, sizeof(T_Palette));
}
}
else if (context->Type == CONTEXT_BRUSH && File_error==0)