mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 06:38:06 +02:00
PoChecker: fix crash caused by passing not enough parameters to Format().
Patch by Vaclav Valicek. Issue #0026167. git-svn-id: trunk@45035 -
This commit is contained in:
parent
b305990772
commit
a2286d1c09
@ -247,9 +247,9 @@ begin
|
||||
end
|
||||
else if not FileExistsUtf8(FChosenMasterName) then
|
||||
begin
|
||||
ShowError(Format(sCannotFindMaster,[ExtractFileName(FChosenMasterName), ShortFn]));
|
||||
FChosenMasterName := '';
|
||||
FChosenChildName := '';
|
||||
ShowError(Format(sCannotFindMaster,[ShortFn]));
|
||||
end;
|
||||
end;
|
||||
OK := (FChosenMasterName <> '');
|
||||
|
Loading…
Reference in New Issue
Block a user