summaryrefslogtreecommitdiff
path: root/plugins/WebView
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-11-17 22:30:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-11-17 22:30:41 +0300
commit7f7252104c054002c8b30636ac0b327e915e7b6d (patch)
tree99dc464c7b21f5917e5ccaa9acff82b12e2b6c4e /plugins/WebView
parentf7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 (diff)
Utils_OpenUrlT
Utils_ReplaceVarsT
Diffstat (limited to 'plugins/WebView')
-rw-r--r--plugins/WebView/src/webview.cpp4
-rw-r--r--plugins/WebView/src/webview_alerts.cpp4
-rw-r--r--plugins/WebView/src/webview_datawnd.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/plugins/WebView/src/webview.cpp b/plugins/WebView/src/webview.cpp
index 2a80d1a83f..592a4a734d 100644
--- a/plugins/WebView/src/webview.cpp
+++ b/plugins/WebView/src/webview.cpp
@@ -174,7 +174,7 @@ int Doubleclick(WPARAM wParam, LPARAM)
int action = db_get_b(hContact, MODULENAME, DBLE_WIN_KEY, 1);
if (action == 0) {
ptrW url(db_get_wsa(hContact, MODULENAME, "URL"));
- Utils_OpenUrlT(url);
+ Utils_OpenUrlW(url);
db_set_w(hContact, MODULENAME, "Status", ID_STATUS_ONLINE);
}
@@ -445,7 +445,7 @@ INT_PTR WebsiteMenuCommand(WPARAM wParam, LPARAM)
MCONTACT hContact = wParam;
ptrW url(db_get_wsa(hContact, MODULENAME, "URL"));
if (url)
- Utils_OpenUrlT(url);
+ Utils_OpenUrlW(url);
db_set_w(hContact, MODULENAME, "Status", ID_STATUS_ONLINE);
return 0;
diff --git a/plugins/WebView/src/webview_alerts.cpp b/plugins/WebView/src/webview_alerts.cpp
index 525d9e8ba6..2e744c3df8 100644
--- a/plugins/WebView/src/webview_alerts.cpp
+++ b/plugins/WebView/src/webview_alerts.cpp
@@ -42,7 +42,7 @@ int CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
}
// open url
if (db_get_b(NULL, MODULENAME, LCLK_WEB_PGE_KEY, 0)) {
- Utils_OpenUrlT(url);
+ Utils_OpenUrlW(url);
PUDeletePopup(hWnd);
db_set_w(wParam, MODULENAME, "Status", ID_STATUS_ONLINE);
}
@@ -63,7 +63,7 @@ int CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
}
// open url
if (db_get_b(NULL, MODULENAME, RCLK_WEB_PGE_KEY, 1)) {
- Utils_OpenUrlT(url);
+ Utils_OpenUrlW(url);
PUDeletePopup(hWnd);
db_set_w(wParam, MODULENAME, "Status", ID_STATUS_ONLINE);
}
diff --git a/plugins/WebView/src/webview_datawnd.cpp b/plugins/WebView/src/webview_datawnd.cpp
index bf79daf074..dd66e38fbd 100644
--- a/plugins/WebView/src/webview_datawnd.cpp
+++ b/plugins/WebView/src/webview_datawnd.cpp
@@ -338,7 +338,7 @@ INT_PTR CALLBACK DlgProcDisplayData(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
switch (LOWORD(wParam)) {
case IDC_OPEN_URL:
GetDlgItemText(hwndDlg, IDC_OPEN_URL, url, _countof(url));
- Utils_OpenUrlT(url);
+ Utils_OpenUrlW(url);
db_set_w(wParam, MODULENAME, "Status", ID_STATUS_ONLINE);
break;