Browse Source

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

git-svn-id: trunk@30296 -
michael 10 years ago
parent
commit
a16ec9b64c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-image/src/fpwritepng.pp

+ 1 - 1
packages/fcl-image/src/fpwritepng.pp

@@ -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;