From ddc7120ac09d8760edf31026bd225785583525a7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 19 Nov 2008 00:06:12 +0100 Subject: screen_song: check CMD_VIEW only if song screen is enabled --- src/command.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/command.c') diff --git a/src/command.c b/src/command.c index 9dae30be6..107167376 100644 --- a/src/command.c +++ b/src/command.c @@ -142,8 +142,10 @@ static command_definition_t cmds[] = { { { '"', 0, 0 }, 0, CMD_GO_PARENT_DIRECTORY, "go-parent-directory", N_("Go to parent directory") }, +#ifdef ENABLE_SONG_SCREEN { { 'i', 0, 0 }, 0, CMD_VIEW, "view", N_("View the song") }, +#endif { { 'G', 0, 0 }, 0, CMD_LOCATE, "locate", N_("Locate song in browser") }, -- cgit v1.2.3