summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-08 17:30:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-08 17:30:12 +0300
commit7507440ff064c26ae453ca46b746e1a27fd81ce0 (patch)
tree988d17b33eb6befc0c84b552cf68c1dd7d9234fa /src
parentc6bd9dcf41397e0adc6dd9ead4743fde29c68297 (diff)
fixes #867 (IRC chat doesn't open)
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/chat_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/chat_manager.cpp b/src/mir_app/src/chat_manager.cpp
index 1065c782c3..141faa2be0 100644
--- a/src/mir_app/src/chat_manager.cpp
+++ b/src/mir_app/src/chat_manager.cpp
@@ -28,8 +28,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
static int compareSessions(const SESSION_INFO *p1, const SESSION_INFO *p2)
{
- int res = mir_strcmp(p1->pszModule, p2->pszModule);
- return (res != 0) ? res : mir_wstrcmp(p1->ptszID, p2->ptszID);
+ int res = mir_strcmpi(p1->pszModule, p2->pszModule);
+ return (res != 0) ? res : mir_wstrcmpi(p1->ptszID, p2->ptszID);
}
LIST<SESSION_INFO> g_arSessions(10, compareSessions);