summaryrefslogtreecommitdiff
path: root/plugins/WebView
diff options
context:
space:
mode:
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;