diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-23 14:30:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-23 14:30:29 +0000 |
commit | bd4c543ae2a48a7093e7f5a5187e7e9460acf548 (patch) | |
tree | df49877a37efd965019ee1a2505e62eca7f40d68 /protocols/JabberG/src/jabber_xstatus.cpp | |
parent | 0b696142c92ba0c55d4b99f50d7d2a360e56ad87 (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/jabber_xstatus.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_xstatus.cpp | 2 |
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);
|