mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 19:39:18 +02:00
IDE: file filters, fixed loop reading past #0 terminator of pchar.
git-svn-id: trunk@64410 -
This commit is contained in:
parent
c4fd1e8484
commit
ac4a901a8c
@ -215,6 +215,7 @@ procedure LoadGridFromFileDialogFilter(Grid: TStringGrid; Filter: string;
|
|||||||
end;
|
end;
|
||||||
if p^='|' then break;
|
if p^='|' then break;
|
||||||
until p^=#0;
|
until p^=#0;
|
||||||
|
if p^=#0 then break;
|
||||||
inc(p);
|
inc(p);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user