Fix issue 377: getbackuppixel doesn't work after image resize

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1611 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-09-12 17:15:16 +00:00
parent c53c6415c3
commit 499c9bc943
6 changed files with 177 additions and 50 deletions

View File

@@ -405,7 +405,7 @@ void Pre_load(T_IO_Context *context, short width, short height, long file_size,
// Other loading
case CONTEXT_MAIN_IMAGE:
if (Backup_with_new_dimensions(0,1,width,height))
if (Backup_new_image(1,width,height))
{
// La nouvelle page a pu être allouée, elle est pour l'instant pleine
// de 0s. Elle fait Main_image_width de large.