summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-21 19:09:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-21 19:09:56 +0000
commitba456be50d3b780e4accf075ba78d5badf282b05 (patch)
treea1e4a2df606b21f814306f7c0bfdef15d6de419b /plugins/HistoryPlusPlus
parenta08db3aa08808c6adec9891d429f262126faca80 (diff)
MS_UTIL_OPENURL -> mir_core::Utils_OpenUrl
git-svn-id: http://svn.miranda-ng.org/main/trunk@14306 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus')
-rw-r--r--plugins/HistoryPlusPlus/hpp_global.pas13
-rw-r--r--plugins/HistoryPlusPlus/hpp_opt_dialog.pas2
2 files changed, 2 insertions, 13 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;
diff --git a/plugins/HistoryPlusPlus/hpp_opt_dialog.pas b/plugins/HistoryPlusPlus/hpp_opt_dialog.pas
index ab70486199..36a93ccbb5 100644
--- a/plugins/HistoryPlusPlus/hpp_opt_dialog.pas
+++ b/plugins/HistoryPlusPlus/hpp_opt_dialog.pas
@@ -255,7 +255,7 @@ begin
WM_COMMAND: begin
case LoWord(wParam) of
ID_NEEDOPTIONS_LINK: begin
- CallService(MS_UTILS_OPENURL,TWPARAM(True),TLPARAM(PAnsiChar(URL_NEEDOPTIONS)));
+ Utils_OpenUrl(URL_NEEDOPTIONS);
Result := 1;
end;
else