aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_artist.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-17 12:25:52 +0200
committerMax Kellermann <max@duempel.org>2008-09-17 12:25:52 +0200
commit51f4e9634dc17f7b433967b0cc46a0945cf26b85 (patch)
treec0860db9b3e36781ec6556b7df421b5278c32b79 /src/screen_artist.c
parent3a278a50a6cc0df63c862a6bdee95d158b74e625 (diff)
downloadmpd-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_artist.c')
-rw-r--r--src/screen_artist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/screen_artist.c b/src/screen_artist.c
index f010a089d..eb7b2e5d4 100644
--- a/src/screen_artist.c
+++ b/src/screen_artist.c
@@ -72,7 +72,6 @@ artist_lw_callback(int index, int *highlight, void *data)
static char buf[BUFSIZE];
char *str, *str_utf8;
- *highlight = 0;
if( (str_utf8=(char *) g_list_nth_data(metalist,index))==NULL )
return NULL;