codetools: clean up

git-svn-id: trunk@25674 -
This commit is contained in:
mattias 2010-05-26 22:35:20 +00:00
parent dfa90fa2e9
commit 07d10376f3

View File

@ -645,7 +645,7 @@ begin
ReAllocMem(FLineRanges,0);
exit;
end;
Cap:=length(FSource) div 20+100;
Cap:=FSrcLen div 20+100;
ReAllocMem(FLineRanges,Cap*SizeOf(TLineRange));
line:=0;
FLineRanges[line].StartPos:=1;