diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-11 20:21:46 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-11 20:22:22 +0200 |
commit | a98df99ba657c87664aee6f56f15233faabe7f6a (patch) | |
tree | a9fc9bb70c4c618c419b9d56576fd052a75bc882 /src/display.cpp | |
parent | c8d83b92238d821cd606dd6c6f9d88f2f1bfbb89 (diff) |
playist: do not duplicate now playing information
Diffstat (limited to 'src/display.cpp')
-rw-r--r-- | src/display.cpp | 2 |
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; } |