converted MpdTagItem.type to an enum
Don't use CPP macros when you can use C enum... this also allows better type checking.
This commit is contained in:
@@ -413,6 +413,8 @@ static void copyTagToVorbisComment(ShoutData * sd)
|
||||
case TAG_ITEM_TITLE:
|
||||
addTag(sd, "TITLE", sd->tag->items[i].value);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user