summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_global.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_global.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_global.pas13
1 files changed, 1 insertions, 12 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_global.pas b/plugins/HistoryPlusPlus/hpp_global.pas
index a1e19d21aa..d0b04669c6 100644
--- a/plugins/HistoryPlusPlus/hpp_global.pas
+++ b/plugins/HistoryPlusPlus/hpp_global.pas
@@ -433,17 +433,6 @@ var
URLTextW: String;
URLTextA: AnsiString;
begin
-{
- if EncodeURL(URLText, URLTextW) then
- begin
- URLTextA := WideToAnsiString(URLTextW, CP_ACP);
- if not SameStr(URLTextW, AnsiToWideString(URLTextA, CP_ACP)) then
- URLTextA := QuoteURL(URLTextW);
- end
- else
- URLTextA := WideToAnsiString(URLText, CP_ACP);
- CallService(MS_UTILS_OPENURL,WPARAM(NewWindow),LPARAM(@URLTextA[1]));
-}
if EncodeURL(URLText, URLTextW) then
begin
URLTextA := AnsiString(URLTextW);
@@ -452,7 +441,7 @@ begin
end
else
URLTextA := AnsiString(URLText);
- CallService(MS_UTILS_OPENURL,WPARAM(NewWindow),LPARAM(@URLTextA[1]));
+ Utils_OpenUrl(@URLTextA[1]);
end;
function AnsiToWideString(const S: AnsiString; CodePage: Cardinal; InLength: Integer = -1): WideString;