mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 18:18:18 +02:00
codetools: clean up
git-svn-id: trunk@25674 -
This commit is contained in:
parent
dfa90fa2e9
commit
07d10376f3
@ -645,7 +645,7 @@ begin
|
|||||||
ReAllocMem(FLineRanges,0);
|
ReAllocMem(FLineRanges,0);
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
Cap:=length(FSource) div 20+100;
|
Cap:=FSrcLen div 20+100;
|
||||||
ReAllocMem(FLineRanges,Cap*SizeOf(TLineRange));
|
ReAllocMem(FLineRanges,Cap*SizeOf(TLineRange));
|
||||||
line:=0;
|
line:=0;
|
||||||
FLineRanges[line].StartPos:=1;
|
FLineRanges[line].StartPos:=1;
|
||||||
|
Loading…
Reference in New Issue
Block a user