From 1ab93d3afabe3a5872040b5acafc9f113c196a2b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 28 Mar 2017 15:56:57 +0300 Subject: some more fixes for 64-bit version --- plugins/NewAwaySysMod/src/MsgEventAdded.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'plugins/NewAwaySysMod/src') diff --git a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp index b8d0570b46..97b64d22e3 100644 --- a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp +++ b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp @@ -84,12 +84,8 @@ void __cdecl AutoreplyDelayThread(void *_ad) int IsSRMsgWindowOpen(MCONTACT hContact, int DefaultRetVal) { - if (ServiceExists(MS_MSG_GETWINDOWDATA)) { - MessageWindowData mwd; - return !Srmm_GetWindowData(hContact, (LPARAM)&mwd) && mwd.hwndWindow; - } - - return DefaultRetVal; + MessageWindowData mwd; + return !Srmm_GetWindowData(hContact, mwd) && mwd.hwndWindow; } -- cgit v1.2.3