From e5691b446efc3ff61e38f1e0d264a1f7a032d5ca Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Wed, 9 Sep 2009 23:47:55 +0200 Subject: [PATCH] song format: if tag type char doesn't match any of supported ones, display it --- src/song.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/song.cpp b/src/song.cpp index 853a738b..56183775 100644 --- a/src/song.cpp +++ b/src/song.cpp @@ -370,6 +370,8 @@ std::string MPD::Song::ParseFormat(std::string::const_iterator &it) const get = &MPD::Song::GetTitle; break; default: + result += *it; + get = 0; break; } if (get)