aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-08-12 12:17:54 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-08-12 12:17:54 +0000
commitce2fe32c54573afc2a64af5b06d3f42ec08f16ce (patch)
tree1b88ca0700f5e471246a687b7ddb861638986d61
parent26d4e89d15db60116ec54b99e9f9b7412fbd138f (diff)
downloadmpd-ce2fe32c54573afc2a64af5b06d3f42ec08f16ce.tar.gz
mpd-ce2fe32c54573afc2a64af5b06d3f42ec08f16ce.tar.xz
mpd-ce2fe32c54573afc2a64af5b06d3f42ec08f16ce.zip
fix booboo in validateUtf8
git-svn-id: https://svn.musicpd.org/mpd/trunk@2011 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/tag.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tag.c b/src/tag.c
index 8131790e2..6c896c4c6 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -61,13 +61,13 @@ void validateUtf8Tag(MpdTag * tag) {
fixUtf8(tag->artist);
stripReturnChar(tag->artist);
fixUtf8(tag->album);
- stripReturnChar(tag->artist);
+ stripReturnChar(tag->album);
fixUtf8(tag->track);
- stripReturnChar(tag->artist);
+ stripReturnChar(tag->track);
fixUtf8(tag->title);
- stripReturnChar(tag->artist);
+ stripReturnChar(tag->title);
fixUtf8(tag->name);
- stripReturnChar(tag->artist);
+ stripReturnChar(tag->name);
}
#ifdef HAVE_ID3TAG