diff options
Diffstat (limited to 'src/grouplistdialog.c')
-rw-r--r-- | src/grouplistdialog.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/grouplistdialog.c b/src/grouplistdialog.c index 779e8bd3..b5271fd1 100644 --- a/src/grouplistdialog.c +++ b/src/grouplistdialog.c @@ -430,8 +430,9 @@ static void grouplist_dialog_set_list(const gchar *pattern, gboolean refresh) if (g_pattern_match_string(pspec, ginfo->name)) { node = grouplist_create_branch(ginfo, pattern); - if (g_slist_find_custom(subscribed, ginfo->name, - (GCompareFunc)g_strcasecmp) + if (g_slist_find_custom + (subscribed, ginfo->name, + (GCompareFunc)g_ascii_strcasecmp) != NULL) gtk_ctree_select(GTK_CTREE(ctree), node); } @@ -555,7 +556,7 @@ static void ctree_unselected(GtkCTree *ctree, GtkCTreeNode *node, gint column, if (!ginfo) return; list = g_slist_find_custom(subscribed, ginfo->name, - (GCompareFunc)g_strcasecmp); + (GCompareFunc)g_ascii_strcasecmp); if (list) { g_free(list->data); subscribed = g_slist_remove(subscribed, list->data); |