From 200c0cb2bdd04e840701d32cff7e3a893874727f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 11 May 2018 21:06:49 +0200 Subject: fixes #1349 (Miranda crashes on coming back from auto away) --- plugins/MyDetails/src/data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/MyDetails/src/data.cpp') 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]); -- cgit v1.2.3