diff options
author | Qball Cow <qball@qballcow.nl> | 2009-01-25 00:39:00 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-25 12:20:47 +0100 |
commit | 16796b1209dc1070c08c4a5996d691aa289a4481 (patch) | |
tree | db395e87bfacbcc7ae7387c2db9d16cc1de016ec /src/locate.c | |
parent | 2bfe6f6412f274de066105f146589d7714e4a4d6 (diff) | |
download | mpd-16796b1209dc1070c08c4a5996d691aa289a4481.tar.gz mpd-16796b1209dc1070c08c4a5996d691aa289a4481.tar.xz mpd-16796b1209dc1070c08c4a5996d691aa289a4481.zip |
Fix tag not being set when casefolding the locate_item_list
Diffstat (limited to 'src/locate.c')
-rw-r--r-- | src/locate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/locate.c b/src/locate.c index d334e797a..18d265490 100644 --- a/src/locate.c +++ b/src/locate.c @@ -122,9 +122,11 @@ locate_item_list_casefold(const struct locate_item_list *list) { struct locate_item_list *new_list = locate_item_list_new(list->length); - for (unsigned i = 0; i < list->length; i++) + for (unsigned i = 0; i < list->length; i++){ new_list->items[i].needle = g_utf8_casefold(list->items[i].needle, -1); + new_list->items[i].tag = list->items[i].tag; + } return new_list; } |