Fixed error in SetDialogTitle

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3398 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
gbamber
2014-07-30 05:24:57 +00:00
parent 9206a6e753
commit 2f728bb0d0

View File

@ -190,7 +190,10 @@ begin
end;
procedure TAboutbox.SetDialogTitle(Const AValue:String);
begin
fDialogTitle:=rs_About + ' ' + Avalue;
if AnsiContainsText(fDialogTitle, rs_About) then
fDialogTitle := AValue
else
fDialogTitle := rs_About + ' ' + Avalue;
end;
procedure TAboutbox.ShowDialog;