diff --git a/src/song.cpp b/src/song.cpp index 56183775..1ffcf176 100644 --- a/src/song.cpp +++ b/src/song.cpp @@ -369,8 +369,9 @@ std::string MPD::Song::ParseFormat(std::string::const_iterator &it) const case 't': get = &MPD::Song::GetTitle; break; + case '%': + result += *it; // no break here default: - result += *it; get = 0; break; }