aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/song_save.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/song_save.c b/src/song_save.c
index eecdd7634..8011a32fb 100644
--- a/src/song_save.c
+++ b/src/song_save.c
@@ -95,9 +95,9 @@ matchesAnMpdTagItemKey(char *buffer, enum tag_type *itemType)
size_t len = strlen(mpdTagItemKeys[i]);
if (0 == strncmp(mpdTagItemKeys[i], buffer, len) &&
- buffer[len] == ':' && buffer[len + 1] == ' ') {
+ buffer[len] == ':') {
*itemType = i;
- return buffer + len + 2;
+ return g_strchug(buffer + len + 1);
}
}