changeset 3312:0c7bd995eb03

[gaim-migrate @ 3330] Chat room buddy lists are now sorted independent of case committer: Tailor Script <tailor@pidgin.im>
author Jim Seymour <jseymour>
date Sat, 15 Jun 2002 17:26:58 +0000
parents 522f37c9f9d2
children b0d5ce77f7dd
files ChangeLog src/buddy_chat.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jun 15 17:24:07 2002 +0000
+++ b/ChangeLog	Sat Jun 15 17:26:58 2002 +0000
@@ -36,6 +36,7 @@
 	* Plugged memory leaks in Jabber plug-in
 	* Fixed problem with Jabber away status not being propagated to
 	  conference rooms for jabberd (server) v1.4.2 and above
+	* Chat room buddy lists are now sorted independent of case
 
 version 0.58 (05/13/2002):
 	* Bulgarian translation added (Thanks, Igel Itzo)
--- a/src/buddy_chat.c	Sat Jun 15 17:24:07 2002 +0000
+++ b/src/buddy_chat.c	Sat Jun 15 17:26:58 2002 +0000
@@ -776,17 +776,17 @@
 	if (*a == '@') {
 		if (*b != '@')
 			return -1;
-		return (strcmp(a + 1, b + 1));
+		return (strcasecmp(a + 1, b + 1));
 	} else if (*a == '+') {
 		if (*b == '@')
 			return 1;
 		if (*b != '+')
 			return -1;
-		return (strcmp(a + 1, b + 1));
+		return (strcasecmp(a + 1, b + 1));
 	} else {
 		if (*b == '@' || *b == '+')
 			return 1;
-		return strcmp(a, b);
+		return strcasecmp(a, b);
 	}
 }