diff options
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/screen.c b/src/screen.c index 3db9730e8..e89e4ebf8 100644 --- a/src/screen.c +++ b/src/screen.c @@ -767,12 +767,10 @@ screen_update(mpdclient_t *c) void screen_idle(mpdclient_t *c) { - if( c->song && seek_id == c->song->id && + if (c->song && seek_id == c->song->id && (screen->last_cmd == CMD_SEEK_FORWARD || - screen->last_cmd == CMD_SEEK_BACKWARD) ) - { - mpdclient_cmd_seek(c, seek_id, seek_target_time); - } + screen->last_cmd == CMD_SEEK_BACKWARD)) + mpdclient_cmd_seek(c, seek_id, seek_target_time); screen->last_cmd = CMD_NONE; seek_id = -1; |