hadle streams in playlist properly

This commit is contained in:
unK
2008-09-17 19:42:00 +02:00
parent bcd977849c
commit 022bf9781e
4 changed files with 14 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ Song::~Song()
string Song::GetLength() const
{
if (!itsSong->time)
if (itsSong->time <= 0)
return "-:--";
return ShowTime(itsSong->time);
}