Changeset 521 for GraphicTest/Packages/bgrabitmap/bgrareadlzp.pas
- Timestamp:
- Apr 17, 2019, 12:58:41 AM (5 years ago)
- Location:
- GraphicTest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest
- Property svn:ignore
-
old new 8 8 GraphicTest.lps 9 9 GraphicTest.dbg 10 heaptrclog.trc
-
- Property svn:ignore
-
GraphicTest/Packages/bgrabitmap/bgrareadlzp.pas
r494 r521 96 96 str.Position:= oldPos; 97 97 InternalReadCompressableBitmap(str,Img); 98 if Str.Position < Str.Sizethen InternalReadLayers(Str,Img);98 if (Str.Position < Str.Size) and (FCaption = 'Preview') then InternalReadLayers(Str,Img); 99 99 end; 100 100 end; … … 169 169 nameLen := LEtoN(str.ReadDWord); 170 170 setlength(ACaption, nameLen); 171 {$PUSH}{$RANGECHECKS OFF} 171 172 str.ReadBuffer(ACaption[1], nameLen); 173 {$POP} 172 174 channelFlags := str.ReadByte; 173 175 NbPixels := w*h;
Note:
See TracChangeset
for help on using the changeset viewer.