if in Lyrics::SwitchTo() lyrics aren't taken yet, take them and continue

if one started fetching lyrics and exited from lyrics screen before
they were taken by Lyrics::Update() and then wanted to switch again,
there was no action visible, because the function just took the lyrics
and exited. for now it continues and fetches them again.
This commit is contained in:
Andrzej Rybczak committed 2009-03-27 14:32:10 +01:00
1 parent d5a63d6b61
commit 2649c4a86b
1 file changed
-3
-3
View File
@@ -111,10 +111,7 @@ void Lyrics::SwitchTo()
return;
}
else if (Ready)
{
Take();
return;
}
# endif // HAVE_PTHREAD_H
const MPD::Song *s = Reload ? myPlaylist->NowPlayingSong() : myScreen->CurrentSong();