Fix issue 495 : Contour fill crashes on new anim frame, and possibly random crashes when adding anim frames

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1968 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2012-07-10 23:03:29 +00:00
parent 86d67e4658
commit 2aa72730ad
2 changed files with 12 additions and 2 deletions

View File

@@ -1243,7 +1243,7 @@ void Fill_general(byte fill_color)
(x_pos<=Limit_right) &&
(y_pos>=Limit_top) &&
(y_pos<=Limit_bottom) )
Pixel_preview(x_pos,y_pos,~Screen_backup[x_pos+y_pos*Main_image_width]);
Pixel_preview(x_pos,y_pos,~Main_screen[x_pos+y_pos*Main_image_width]);
}