summaryrefslogtreecommitdiff
path: root/plugins/MyDetails/src/data.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-11 21:22:17 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-05-11 21:22:17 +0200
commit3f1628f127d35aa14da97e50c2a94cfd61ad52dd (patch)
treee9f1d8a1282e3c5ee0139003f4aac0e932a99213 /plugins/MyDetails/src/data.cpp
parent6a6f2b9e3b2749f16b513dfc98d5d5038b5628fb (diff)
merge from master to
fixes #1349 (Miranda crashes on coming back from auto away)
Diffstat (limited to 'plugins/MyDetails/src/data.cpp')
-rw-r--r--plugins/MyDetails/src/data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MyDetails/src/data.cpp b/plugins/MyDetails/src/data.cpp
index 8dda970f0a..813041948d 100644
--- a/plugins/MyDetails/src/data.cpp
+++ b/plugins/MyDetails/src/data.cpp
@@ -154,7 +154,7 @@ void Protocol::SetStatus(int aStatus)
GetStatusMsg(aStatus, status_msg, _countof(status_msg));
pse[0]->m_szMsg = status_msg;
- CallService(MS_CS_SETSTATUSEX, (WPARAM)&pse, 0);
+ CallService(MS_CS_SETSTATUSEX, (WPARAM)&pse, pCount);
for (int i = 0; i < pCount; i++)
mir_free(pse[i]);