summaryrefslogtreecommitdiff
path: root/plugins/MenuItemEx
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-10-23 20:27:38 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-10-23 20:27:38 +0000
commitafe98b8484166da4d905220981bb64d86c73bcd8 (patch)
treea3484ad91d6d0efbe436fe7a59ccce799564c1de /plugins/MenuItemEx
parent368f94af7740623a97c2c51c1a7d1a3f15593f1d (diff)
more support for old Miranda removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@2063 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MenuItemEx')
-rw-r--r--plugins/MenuItemEx/src/main.cpp18
1 files changed, 3 insertions, 15 deletions
diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp
index 823434de2d..28efa1bea9 100644
--- a/plugins/MenuItemEx/src/main.cpp
+++ b/plugins/MenuItemEx/src/main.cpp
@@ -489,21 +489,9 @@ INT_PTR CALLBACK AuthReqWndProc(HWND hdlg,UINT msg,WPARAM wparam,LPARAM lparam)
switch(LOWORD(wparam)) {
case IDOK:
{
- char szReason[256] = {0};
-
- WCHAR wszReason[256] = {0};
-
- if (CallService(MS_SYSTEM_GETVERSION, 0, 0) < 0x00090007)
- {
- GetDlgItemTextA(hdlg,IDC_REASON,szReason,255);
- CallContactService(hcontact,PSS_AUTHREQUEST,0,(LPARAM)szReason);
- }
- else
- {
- GetDlgItemText(hdlg,IDC_REASON,wszReason,255);
- CallContactService(hcontact,PSS_AUTHREQUESTW,0,(LPARAM)wszReason);
- }
-
+ TCHAR tszReason[256] = {0};
+ GetDlgItemText(hdlg,IDC_REASON,tszReason,255);
+ CallContactService(hcontact,PSS_AUTHREQUESTT,0,(LPARAM)tszReason);
} // fall through
case IDCANCEL:
DestroyWindow(hdlg);