mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 16:21:01 +02:00
jcf: use OpenURL function instead to open urls
git-svn-id: trunk@22019 -
This commit is contained in:
parent
af8d456d33
commit
323fe7ecc1
@ -67,18 +67,16 @@ uses
|
|||||||
{$ifndef fpc}
|
{$ifndef fpc}
|
||||||
Windows, ShellAPI, URLMon,
|
Windows, ShellAPI, URLMon,
|
||||||
{$else}
|
{$else}
|
||||||
LResources, HelpIntfs,
|
LResources, LCLProc,
|
||||||
{$endif}
|
{$endif}
|
||||||
{ local }
|
{ local }
|
||||||
JcfVersionConsts, JCFHelp, JcfFontSetFunctions, JcfStringUtils;
|
JcfVersionConsts, JCFHelp, JcfFontSetFunctions, JcfStringUtils;
|
||||||
|
|
||||||
{$ifdef fpc}
|
{$ifdef fpc}
|
||||||
procedure ShowURL(const ps: string);
|
procedure ShowURL(const ps: string);
|
||||||
var
|
|
||||||
err: String;
|
|
||||||
begin
|
begin
|
||||||
// do it silent
|
// do it silent
|
||||||
HelpIntfs.ShowHelp(ps, 'JCF', 'text/html', err);
|
OpenURL(ps);
|
||||||
end;
|
end;
|
||||||
{$else}
|
{$else}
|
||||||
procedure ShowURL(const ps: string);
|
procedure ShowURL(const ps: string);
|
||||||
|
Loading…
Reference in New Issue
Block a user