diff --git a/components/jcf2/Ui/fAbout.pas b/components/jcf2/Ui/fAbout.pas index 0fad35a9e1..cffa09461a 100644 --- a/components/jcf2/Ui/fAbout.pas +++ b/components/jcf2/Ui/fAbout.pas @@ -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);