summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-23 14:30:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-23 14:30:29 +0000
commitbd4c543ae2a48a7093e7f5a5187e7e9460acf548 (patch)
treedf49877a37efd965019ee1a2505e62eca7f40d68 /protocols/JabberG/src
parent0b696142c92ba0c55d4b99f50d7d2a360e56ad87 (diff)
jabber xstatus wasn't cleared by SetXStatusEx
git-svn-id: http://svn.miranda-ng.org/main/trunk@2445 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_xstatus.cpp2
1 files changed, 1 insertions, 1 deletions
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);