diff options
Diffstat (limited to '')
-rw-r--r-- | src/screen_play.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screen_play.c b/src/screen_play.c index 1f844f943..75462ccf9 100644 --- a/src/screen_play.c +++ b/src/screen_play.c @@ -99,8 +99,7 @@ center_playing_item(mpdclient_t *c) unsigned offset = lw->selected - lw->start; int idx; - if (!lw || !c->song || length<lw->rows || - IS_STOPPED(c->status->state)) + if (!c->song || length<lw->rows || IS_STOPPED(c->status->state)) return; /* try to center the song that are playing */ |