aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/screen_lyrics.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 6853fecd7..cae07a73b 100644
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
@@ -39,7 +39,6 @@
#include <stdio.h>
static list_window_t *lw = NULL;
-static int lyrics_text_rows = -1;
static struct {
const struct mpd_song *song;
@@ -324,7 +323,7 @@ lyrics_cmd(screen_t *screen, mpdclient_t *c, command_t cmd)
lw->selected = lw->start+lw->rows;
if (screen_find(screen,
- lw, lyrics_text_rows,
+ lw, current.lines->len,
cmd, list_callback, NULL)) {
/* center the row */
list_window_center(lw, current.lines->len, lw->selected);