* Patch from ocean, fixing AV (bug ID 26540)

git-svn-id: trunk@30296 -
This commit is contained in:
michael 2015-03-23 19:54:46 +00:00
parent ac077797cd
commit a16ec9b64c

View File

@ -660,7 +660,7 @@ procedure TFPWriterPNG.WritetRNS;
procedure PaletteAlpha;
var r : integer;
begin
with TheImage.palette do
with FPalette do
begin
// search last palette entry with transparency
r := count;