Browse Source

* chunk protected instead of private, Mantis #20543

git-svn-id: trunk@20969 -
marco 13 years ago
parent
commit
d8101679fa
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/fcl-image/src/fpreadpng.pp

+ 2 - 1
packages/fcl-image/src/fpreadpng.pp

@@ -28,7 +28,7 @@ Type
 
   TFPReaderPNG = class (TFPCustomImageReader)
     private
-      Chunk : TChunk;
+
       FHeader : THeaderChunk;
       ZData : TMemoryStream;  // holds compressed data until all blocks are read
       Decompress : TDeCompressionStream; // decompresses the data
@@ -61,6 +61,7 @@ Type
       function ColorColorAlpha8 (CD:TColorData) : TFPColor;
       function ColorColorAlpha16 (CD:TColorData) : TFPColor;
     protected
+      Chunk : TChunk;
       UseTransparent, EndOfFile : boolean;
       TransparentDataValue : TColorData;
       UsingBitGroup : byte;