aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen_browser.c')
-rw-r--r--src/screen_browser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screen_browser.c b/src/screen_browser.c
index d0a591ec4..f8493c3eb 100644
--- a/src/screen_browser.c
+++ b/src/screen_browser.c
@@ -529,6 +529,7 @@ browser_cmd(struct screen_browser *browser,
return true;
#endif
+#ifdef ENABLE_SONG_SCREEN
case CMD_VIEW:
entry = browser_get_selected(browser);
if (entry == NULL || entry->entity == NULL ||
@@ -537,6 +538,7 @@ browser_cmd(struct screen_browser *browser,
screen_song_switch(c, entry->entity->info.song);
return true;
+#endif
case CMD_LOCATE:
entry = browser_get_selected(browser);