summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-28 15:56:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-28 15:56:57 +0300
commit1ab93d3afabe3a5872040b5acafc9f113c196a2b (patch)
treeec309e3cdd8c34e830022525be003278fae0330f /plugins/NewAwaySysMod
parent2be5844edd93ab3490b4689cad33d75b4c77f3a8 (diff)
some more fixes for 64-bit version
Diffstat (limited to 'plugins/NewAwaySysMod')
-rw-r--r--plugins/NewAwaySysMod/src/MsgEventAdded.cpp8
1 files changed, 2 insertions, 6 deletions
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;
}