mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 02:41:51 +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
|
then
|
||||||
exit(MaskStart-PChar(aFilter)+1);
|
exit(MaskStart-PChar(aFilter)+1);
|
||||||
if p^='|' then break;
|
if p^='|' then break;
|
||||||
until p^=#0;
|
if p^=#0 then exit;
|
||||||
|
until false;
|
||||||
inc(p);
|
inc(p);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user