* fixed fillchar parameters

git-svn-id: trunk@1257 -
This commit is contained in:
florian 2005-10-02 17:06:06 +00:00
parent 79ea4bb52f
commit 1b6364ceba

View File

@ -82,7 +82,7 @@ begin
begin
FPCRuntimeResourceInfoArray:=GetMem(SizeOf(TFPCRuntimeResourceInfo)*ResInfoCount);
{ we must zero out this because name is an ansistring }
fillchar(FPCRuntimeResourceInfoArray^,0,SizeOf(TFPCRuntimeResourceInfo)*ResInfoCount);
fillchar(FPCRuntimeResourceInfoArray^,SizeOf(TFPCRuntimeResourceInfo)*ResInfoCount,0);
for i:=0 to ResInfoCount-1 do
begin