mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 22:39:14 +02:00
codetools: fix TDirectiveSequenceItem.FindValue
git-svn-id: trunk@51139 -
This commit is contained in:
parent
d8163c8187
commit
e0dca9c427
@ -1045,7 +1045,7 @@ function TDirectiveSequenceItem.FindValue(const ACleanPos: integer; out
|
||||
I, Max, Min: Integer;
|
||||
ResIndex, ResCleanPos: integer;
|
||||
begin
|
||||
Max := High(FItems);
|
||||
Max := FLastItem;
|
||||
Min := 0;
|
||||
ResIndex := -1;
|
||||
ResCleanPos := -1;
|
||||
|
Loading…
Reference in New Issue
Block a user