summaryrefslogtreecommitdiff
path: root/protocols/MSN/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MSN/src')
-rw-r--r--protocols/MSN/src/msn_misc.cpp6
1 files changed, 3 insertions, 3 deletions
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);
}
}