From 026b5281364dfa1e2bf45105cc09fb523fa3cd8b Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Fri, 17 Dec 2004 21:26:36 +0000 Subject: [PATCH] Make browse case-insensitive, to match query processing --- src/daap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daap.c b/src/daap.c index cd7f933e..abfea46a 100644 --- a/src/daap.c +++ b/src/daap.c @@ -1094,10 +1094,10 @@ static void add_browse_item(browse_item** root, char* name) { browse_item* item; - while(0 != (item = *root) && strcmp(item->name, name) < 0) + while(0 != (item = *root) && strcasecmp(item->name, name) < 0) root = &item->next; - if(item && strcmp(item->name, name) == 0) + if(item && strcasecmp(item->name, name) == 0) return; item = calloc(1, sizeof(browse_item));