jcf: use OpenURL function instead to open urls

git-svn-id: trunk@22019 -
This commit is contained in:
paul 2009-10-04 06:20:37 +00:00
parent af8d456d33
commit 323fe7ecc1

View File

@ -67,18 +67,16 @@ uses
{$ifndef fpc}
Windows, ShellAPI, URLMon,
{$else}
LResources, HelpIntfs,
LResources, LCLProc,
{$endif}
{ local }
JcfVersionConsts, JCFHelp, JcfFontSetFunctions, JcfStringUtils;
{$ifdef fpc}
procedure ShowURL(const ps: string);
var
err: String;
begin
// do it silent
HelpIntfs.ShowHelp(ps, 'JCF', 'text/html', err);
OpenURL(ps);
end;
{$else}
procedure ShowURL(const ps: string);