aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_lyrics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen_lyrics.c')
-rw-r--r--src/screen_lyrics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 3c0393488..ec552ee33 100644
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
@@ -99,7 +99,7 @@ lyrics_repaint(void)
static void
lyrics_repaint_if_active(void)
{
- if (get_cur_mode_id() == 104) { /* XXX don't use the literal number */
+ if (screen_is_visible(&screen_lyrics)) {
lyrics_repaint();
/* XXX repaint the screen title */