Fixed bug where Title repeated 'About'

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3395 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
gbamber 2014-07-29 13:31:14 +00:00
parent 5c691c8f2f
commit 827245c127

View File

@ -185,7 +185,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;