Ignore:
Timestamp:
Apr 17, 2019, 12:58:41 AM (5 years ago)
Author:
chronos
Message:
  • Modified: Propagate project build mode options to used packages.
  • Added: Check memory leaks using heaptrc.
  • Modified: Update BGRABitmap package.
Location:
GraphicTest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest

    • Property svn:ignore
      •  

        old new  
        88GraphicTest.lps
        99GraphicTest.dbg
         10heaptrclog.trc
  • GraphicTest/Packages/bgrabitmap/bgrareadlzp.pas

    r494 r521  
    9696    str.Position:= oldPos;
    9797    InternalReadCompressableBitmap(str,Img);
    98     if Str.Position < Str.Size then InternalReadLayers(Str,Img);
     98    if (Str.Position < Str.Size) and (FCaption = 'Preview') then InternalReadLayers(Str,Img);
    9999  end;
    100100end;
     
    169169  nameLen := LEtoN(str.ReadDWord);
    170170  setlength(ACaption, nameLen);
     171  {$PUSH}{$RANGECHECKS OFF}
    171172  str.ReadBuffer(ACaption[1], nameLen);
     173  {$POP}
    172174  channelFlags := str.ReadByte;
    173175  NbPixels := w*h;
Note: See TracChangeset for help on using the changeset viewer.