summaryrefslogtreecommitdiff
path: root/src/display.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-09-11 20:21:46 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-09-11 20:22:22 +0200
commita98df99ba657c87664aee6f56f15233faabe7f6a (patch)
treea9fc9bb70c4c618c419b9d56576fd052a75bc882 /src/display.cpp
parentc8d83b92238d821cd606dd6c6f9d88f2f1bfbb89 (diff)
playist: do not duplicate now playing information
Diffstat (limited to 'src/display.cpp')
-rw-r--r--src/display.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.cpp b/src/display.cpp
index d10961de..c754a323 100644
--- a/src/display.cpp
+++ b/src/display.cpp
@@ -97,7 +97,7 @@ void setProperties(NC::Menu<T> &menu, const MPD::Song &s, HasSongs &screen, bool
int song_pos = menu.isFiltered() ? s.getPosition() : drawn_pos;
is_now_playing = static_cast<void *>(&menu) == myPlaylist->Items
- && song_pos == myPlaylist->NowPlaying;
+ && song_pos == Mpd.GetCurrentlyPlayingSongPos();
if (is_now_playing)
menu << Config.now_playing_prefix;
}