summaryrefslogtreecommitdiff
path: root/plugins/MyDetails
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-11 21:06:49 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-05-11 21:06:49 +0200
commit200c0cb2bdd04e840701d32cff7e3a893874727f (patch)
tree6d2aa3a9f96e71cb325381509fd6c1a792ea0c84 /plugins/MyDetails
parent3d50f70b2f577ac732ef83cb9094705ec190c489 (diff)
fixes #1349 (Miranda crashes on coming back from auto away)
Diffstat (limited to 'plugins/MyDetails')
-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]);