mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 05:19:31 +02:00
lcl: fixed function TFileDialog.FindMaskInFilter out of bounds
git-svn-id: trunk@39013 -
This commit is contained in:
parent
9e16841b73
commit
4280954cfd
@ -105,7 +105,8 @@ begin
|
||||
then
|
||||
exit(MaskStart-PChar(aFilter)+1);
|
||||
if p^='|' then break;
|
||||
until p^=#0;
|
||||
if p^=#0 then exit;
|
||||
until false;
|
||||
inc(p);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user