Browse Source

* Fix patch, unit was not recompiled on last make.. :/

git-svn-id: trunk@38007 -
michael 7 years ago
parent
commit
37a9467603
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-res/src/groupresource.pp

+ 1 - 1
packages/fcl-res/src/groupresource.pp

@@ -86,7 +86,7 @@ begin
   fItemList:=TFPList.Create;
   //read NewHeader from resource
   RawData.Position:=0;
-  if RawData.Read(nh,sizeof(nh))<>nh then 
+  if RawData.Read(nh,sizeof(nh))<>sizeof(nh) then 
     exit;
   {$IFDEF ENDIAN_BIG}
   nh.reserved:=SwapEndian(nh.reserved);