summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fd7abf4)
raw | patch | inline | side by side (parent: fd7abf4)
author | Max Kellermann <max@duempel.org> | |
Wed, 17 Sep 2008 10:24:56 +0000 (12:24 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Wed, 17 Sep 2008 10:24:56 +0000 (12:24 +0200) |
lyrics_text_rows wasn't set anyway, I somehow removed the code in a
patch some time ago.
patch some time ago.
src/screen_lyrics.c | patch | blob | history |
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 6853fecd72bb2a9dc494d2ca3fb435d1d51910e1..cae07a73be14149fed98e75278a26c01f6b224eb 100644 (file)
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
#include <stdio.h>
static list_window_t *lw = NULL;
-static int lyrics_text_rows = -1;
static struct {
const struct mpd_song *song;
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);