diff options
author | Max Kellermann <max@duempel.org> | 2008-09-22 10:21:34 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-22 10:21:34 +0200 |
commit | 31283ca1beceb15145360674da4690081bd30d97 (patch) | |
tree | 3163c4942f9406f89e249602f1e74b12c4f414fc /src/screen_artist.c | |
parent | 32f329d4efcbc8a1ce16af51e35392b1b6aa1326 (diff) | |
download | mpd-31283ca1beceb15145360674da4690081bd30d97.tar.gz mpd-31283ca1beceb15145360674da4690081bd30d97.tar.xz mpd-31283ca1beceb15145360674da4690081bd30d97.zip |
screen: simplified CMD_SCREEN_UPDATE handlers
Since screen.c has default code for CMD_SCREEN_UPDATE, return 0 from
the command handlers and let screen.c do the rest.
Diffstat (limited to '')
-rw-r--r-- | src/screen_artist.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/screen_artist.c b/src/screen_artist.c index de0466c65..dd7e0175a 100644 --- a/src/screen_artist.c +++ b/src/screen_artist.c @@ -417,8 +417,6 @@ artist_cmd(screen_t *screen, mpdclient_t *c, command_t cmd) /* continue and update... */ case CMD_SCREEN_UPDATE: - screen->painted = 0; - browser.lw->clear = 1; update_metalist(c, g_strdup(artist), g_strdup(album)); screen_status_printf(_("Screen updated!")); return 0; |