From afe98b8484166da4d905220981bb64d86c73bcd8 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 23 Oct 2012 20:27:38 +0000 Subject: more support for old Miranda removed git-svn-id: http://svn.miranda-ng.org/main/trunk@2063 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MenuItemEx/src/main.cpp | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'plugins/MenuItemEx/src') 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); -- cgit v1.2.3