IDE: file filters, fixed loop reading past #0 terminator of pchar.

git-svn-id: trunk@64410 -
This commit is contained in:
martin 2021-01-20 16:00:39 +00:00
parent c4fd1e8484
commit ac4a901a8c

View File

@ -215,6 +215,7 @@ procedure LoadGridFromFileDialogFilter(Grid: TStringGrid; Filter: string;
end;
if p^='|' then break;
until p^=#0;
if p^=#0 then break;
inc(p);
end;
end;