aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag.c b/src/tag.c
index 96dbb40f3..2d74c5c81 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -430,13 +430,13 @@ inline static void appendToTagItems(MpdTag * tag, int type, char * value,
dup[len] = '\0';
fixUtf8(dup);
+ stripReturnChar(dup);
tag->numOfItems++;
tag->items = realloc(tag->items, tag->numOfItems*sizeof(MpdTagItem));
tag->items[i].type = type;
tag->items[i].value = getTagItemString(type, dup);
- //tag->items[i].value = strdup(dup);
free(dup);
}