diff options
author | Max Kellermann <max@duempel.org> | 2008-09-17 12:25:52 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-17 12:25:52 +0200 |
commit | 51f4e9634dc17f7b433967b0cc46a0945cf26b85 (patch) | |
tree | c0860db9b3e36781ec6556b7df421b5278c32b79 /src/screen_play.c | |
parent | 3a278a50a6cc0df63c862a6bdee95d158b74e625 (diff) | |
download | mpd-51f4e9634dc17f7b433967b0cc46a0945cf26b85.tar.gz mpd-51f4e9634dc17f7b433967b0cc46a0945cf26b85.tar.xz mpd-51f4e9634dc17f7b433967b0cc46a0945cf26b85.zip |
list_window: don't reset *highlight to 0
Since the list_window code sets highlight to 0 before it calls the
list_callback, the callback itself doesn't have to reset the flag.
Diffstat (limited to 'src/screen_play.c')
-rw-r--r-- | src/screen_play.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/screen_play.c b/src/screen_play.c index 0426176d6..c59c766cd 100644 --- a/src/screen_play.c +++ b/src/screen_play.c @@ -80,7 +80,6 @@ list_callback(unsigned idx, int *highlight, void *data) mpdclient_t *c = (mpdclient_t *) data; mpd_Song *song; - *highlight = 0; if( (song=playlist_get_song(c, idx)) == NULL ) { return NULL; } |