lcl: fixed function TFileDialog.FindMaskInFilter out of bounds

git-svn-id: trunk@39013 -
This commit is contained in:
mattias 2012-10-09 07:19:06 +00:00
parent 9e16841b73
commit 4280954cfd

View File

@ -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;