change all Mpd.GetState </> psPlay/psStop to (!)Mpd.isPlaying()

This commit is contained in:
Andrzej Rybczak
2009-09-18 02:17:30 +00:00
parent 7c9363c174
commit 2f971147b1
5 changed files with 12 additions and 10 deletions

View File

@@ -94,7 +94,7 @@ void Visualizer::Update()
return;
// if mpd is stopped, clear the screen
if (Mpd.GetState() < MPD::psPlay)
if (!Mpd.isPlaying())
{
w->Clear();
return;