mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 10:35:58 +02:00
EditorOptions: Fixed possible endless loop
git-svn-id: trunk@21183 -
This commit is contained in:
parent
bb7f662fae
commit
5e096085eb
@ -1248,8 +1248,10 @@ begin
|
||||
while (i >= 0) do
|
||||
begin
|
||||
e := PreviewSyn.Attribute[i];
|
||||
if e.Name = '' then
|
||||
if e.Name = '' then begin
|
||||
dec(i);
|
||||
continue;
|
||||
end;
|
||||
if e.Name = AdditionalHighlightAttributes[AddAttr] then
|
||||
begin
|
||||
Special := True;
|
||||
|
Loading…
Reference in New Issue
Block a user