Some work on brush remapping

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1700 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2011-01-29 21:20:54 +00:00
parent 40a7bcf40e
commit e01b310317
11 changed files with 110 additions and 32 deletions

View File

@@ -780,6 +780,8 @@ void Load_image(T_IO_Context *context)
File_error=3;
free(context->Buffer_image);
}
memcpy(Brush_original_palette, context->Palette, sizeof(T_Palette));
context->Buffer_image = NULL;
}
else if (context->Type == CONTEXT_SURFACE)