summaryrefslogtreecommitdiff
path: root/src/modules/chat/manager.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-07 19:08:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-07 19:08:48 +0000
commit460523e2f91671ef33c896966df7c30939e5cc41 (patch)
tree337a7b718d1545a098bac9554e86104e2a73ce87 /src/modules/chat/manager.cpp
parent9a6b8b3ae092b384abe12e54b7efbad2fb921bb6 (diff)
funny, but chats worked due to an error in the chats' manager
git-svn-id: http://svn.miranda-ng.org/main/trunk@11264 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/chat/manager.cpp')
-rw-r--r--src/modules/chat/manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/chat/manager.cpp b/src/modules/chat/manager.cpp
index 611034cbe2..1fd4027bd0 100644
--- a/src/modules/chat/manager.cpp
+++ b/src/modules/chat/manager.cpp
@@ -1016,12 +1016,12 @@ static int UM_CompareItem(USERINFO * u1, const TCHAR *pszNick, WORD wStatus)
if ((dw2 & 1) && !(dw1 & 1))
return 1;
if ((dw1 & 1) && (dw2 & 1))
- return mir_tstrcmp(u1->pszNick, pszNick);
+ return mir_tstrcmpi(u1->pszNick, pszNick);
dw1 = dw1 >> 1;
dw2 = dw2 >> 1;
}
- return mir_tstrcmp(u1->pszNick, pszNick);
+ return mir_tstrcmpi(u1->pszNick, pszNick);
}
static USERINFO* UM_SortUser(USERINFO** ppUserList, const TCHAR *pszUID)