summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ctrl_edit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/ctrl_edit.cpp')
-rw-r--r--plugins/UserInfoEx/src/ctrl_edit.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/plugins/UserInfoEx/src/ctrl_edit.cpp b/plugins/UserInfoEx/src/ctrl_edit.cpp
index 99d8f22b75..75a82e7a37 100644
--- a/plugins/UserInfoEx/src/ctrl_edit.cpp
+++ b/plugins/UserInfoEx/src/ctrl_edit.cpp
@@ -268,31 +268,6 @@ void CEditCtrl::OnChangedByUser(uint16_t wChangedMsg)
}
}
-/**
- * Opens the url given in a editbox in the users default browser
- **/
-void CEditCtrl::OpenUrl()
-{
- int lenUrl = 1 + Edit_GetTextLength(_hwnd);
- LPTSTR szUrl;
- uint8_t need_free = 0;
-
- __try {
- szUrl = (LPTSTR)alloca((8 + lenUrl) * sizeof(wchar_t));
- }
- __except (EXCEPTION_EXECUTE_HANDLER)
- {
- szUrl = (LPTSTR)mir_alloc((8 + lenUrl) * sizeof(wchar_t));
- need_free = 1;
- }
-
- if (szUrl && (GetWindowText(_hwnd, szUrl, lenUrl) > 0))
- Utils_OpenUrlW(szUrl);
-
- if (need_free)
- MIR_FREE(szUrl);
-}
-
LRESULT CEditCtrl::LinkNotificationHandler(ENLINK* lnk)
{
if (lnk == nullptr)