diff options
author | George Hazan <ghazan@miranda.im> | 2016-11-17 22:30:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-11-17 22:30:41 +0300 |
commit | 7f7252104c054002c8b30636ac0b327e915e7b6d (patch) | |
tree | 99dc464c7b21f5917e5ccaa9acff82b12e2b6c4e /src/core/stdmsg | |
parent | f7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 (diff) |
Utils_OpenUrlT
Utils_ReplaceVarsT
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r-- | src/core/stdmsg/src/chat_window.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/stdmsg/src/chat_window.cpp b/src/core/stdmsg/src/chat_window.cpp index d810d1b340..61e9fbb0f5 100644 --- a/src/core/stdmsg/src/chat_window.cpp +++ b/src/core/stdmsg/src/chat_window.cpp @@ -2123,14 +2123,14 @@ INT_PTR CALLBACK RoomWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar case ID_SEARCH_GOOGLE: if (pszWord[0]) - Utils_OpenUrlT(CMStringW(FORMAT, L"http://www.google.com/search?q=%s", pszWord)); + Utils_OpenUrlW(CMStringW(FORMAT, L"http://www.google.com/search?q=%s", pszWord)); PostMessage(hwndDlg, WM_MOUSEACTIVATE, 0, 0); break; case ID_SEARCH_WIKIPEDIA: if (pszWord[0]) - Utils_OpenUrlT(CMStringW(FORMAT, L"http://en.wikipedia.org/wiki/%s", pszWord)); + Utils_OpenUrlW(CMStringW(FORMAT, L"http://en.wikipedia.org/wiki/%s", pszWord)); PostMessage(hwndDlg, WM_MOUSEACTIVATE, 0, 0); break; @@ -2172,11 +2172,11 @@ INT_PTR CALLBACK RoomWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar ClientToScreen(((NMHDR *)lParam)->hwndFrom, &pt); switch (TrackPopupMenu(hSubMenu, TPM_RETURNCMD, pt.x, pt.y, 0, hwndDlg, NULL)) { case ID_NEW: - Utils_OpenUrlT(tr.lpstrText); + Utils_OpenUrlW(tr.lpstrText); break; case ID_CURR: - Utils_OpenUrlT(tr.lpstrText, false); + Utils_OpenUrlW(tr.lpstrText, false); break; case ID_COPY: @@ -2198,7 +2198,7 @@ INT_PTR CALLBACK RoomWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar return TRUE; } - Utils_OpenUrlT(tr.lpstrText); + Utils_OpenUrlW(tr.lpstrText); SetFocus(GetDlgItem(hwndDlg, IDC_MESSAGE)); mir_free(tr.lpstrText); break; |