From bd4c543ae2a48a7093e7f5a5187e7e9460acf548 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 23 Nov 2012 14:30:29 +0000 Subject: jabber xstatus wasn't cleared by SetXStatusEx git-svn-id: http://svn.miranda-ng.org/main/trunk@2445 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_xstatus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/JabberG/src/jabber_xstatus.cpp b/protocols/JabberG/src/jabber_xstatus.cpp index b9b1a17e0a..0e4417f961 100644 --- a/protocols/JabberG/src/jabber_xstatus.cpp +++ b/protocols/JabberG/src/jabber_xstatus.cpp @@ -1438,7 +1438,7 @@ INT_PTR __cdecl CJabberProto::OnSetXStatusEx(WPARAM wParam, LPARAM lParam) CPepMood *pepMood = (CPepMood*)m_pepServices.Find(_T(JABBER_FEAT_USER_MOOD)); int status = *pData->status; - if (status > 0 && status < SIZEOF(g_arrMoods)) { + if (status >= 0 && status < SIZEOF(g_arrMoods)) { pepMood->m_mode = status; pepMood->m_text = JabberStrFixLines(pData->ptszMessage); pepMood->LaunchSetGui(1); -- cgit v1.2.3