Mercurial > pidgin
changeset 23148:e2d28391d3fc
Make group names case insensitive, which is the case in the official MSN,
Yahoo and AIM clients. This should fix a number of bugs related to
deleting groups. I am committing this in .next.minor hoping it gives us
enough time to find any bugs this may cause.
Fixes #4554, #3342, #4900.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 13 May 2008 02:48:08 +0000 |
parents | 28a60a010efc |
children | da1b9eeac7b5 |
files | libpurple/blist.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/blist.c Tue May 13 02:26:34 2008 +0000 +++ b/libpurple/blist.c Tue May 13 02:48:08 2008 +0000 @@ -2193,7 +2193,7 @@ g_return_val_if_fail((name != NULL) && (*name != '\0'), NULL); for (node = purplebuddylist->root; node != NULL; node = node->next) { - if (!strcmp(((PurpleGroup *)node)->name, name)) + if (!purple_utf8_strcasecmp(((PurpleGroup *)node)->name, name)) return (PurpleGroup *)node; }