From 2be5844edd93ab3490b4689cad33d75b4c77f3a8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 28 Mar 2017 15:38:49 +0300 Subject: and finally MS_MSG_GETWINDOWDATA has gone, zihrono levraha --- protocols/MSN/src/msn_misc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/MSN') diff --git a/protocols/MSN/src/msn_misc.cpp b/protocols/MSN/src/msn_misc.cpp index 680662c28f..c61f47c32a 100644 --- a/protocols/MSN/src/msn_misc.cpp +++ b/protocols/MSN/src/msn_misc.cpp @@ -1308,13 +1308,13 @@ bool CMsnProto::MSN_IsMeByContact(MCONTACT hContact, char* szEmail) bool MSN_MsgWndExist(MCONTACT hContact) { - MessageWindowData msgWinData = {}; - bool res = CallService(MS_MSG_GETWINDOWDATA, hContact, (LPARAM)&msgWinData) != 0; + MessageWindowData msgWinData; + bool res = Srmm_GetWindowData(hContact, msgWinData) != 0; res = res || msgWinData.hwndWindow; if (res) { hContact = db_mc_getMeta(hContact); if (hContact != 0) { - res = CallService(MS_MSG_GETWINDOWDATA, hContact, (LPARAM)&msgWinData) != 0; + res = Srmm_GetWindowData(hContact, msgWinData) != 0; res |= (msgWinData.hwndWindow == NULL); } } -- cgit v1.2.3