Commit 450f2dec authored by Warren Dukes's avatar Warren Dukes

put tracking titles back in tag tracker

git-svn-id: https://svn.musicpd.org/mpd/trunk@2654 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 67c7cc8e
......@@ -24,7 +24,7 @@ typedef struct tagTrackerItem {
char * getTagItemString(int type, char * string) {
ListNode * node;
if(type == TAG_ITEM_TITLE) return strdup(string);
/*if(type == TAG_ITEM_TITLE) return strdup(string);*/
if(tagLists[type] == NULL) {
tagLists[type] = makeList(free, 1);
......@@ -48,16 +48,16 @@ void removeTagItemString(int type, char * string) {
assert(string);
/*assert(tagLists[type]);*/
assert(tagLists[type]);
if(tagLists[type] == NULL) return;
node = findNodeInList(tagLists[type], string);
/*assert(node);*/
assert(node);
if(!node) {
/*if(!node) {
free(string);
return;
}
}*/
if(node) {
TagTrackerItem * item = node->data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment