diff options
author | Max Kellermann <max@duempel.org> | 2008-11-19 00:06:12 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-19 00:06:12 +0100 |
commit | ddc7120ac09d8760edf31026bd225785583525a7 (patch) | |
tree | 0833f3bc31e9a799c74fe6a941b8942509196d67 /src/command.c | |
parent | f3849aa2b3eb49ca6a903e6627f97540c1a383f1 (diff) | |
download | mpd-ddc7120ac09d8760edf31026bd225785583525a7.tar.gz mpd-ddc7120ac09d8760edf31026bd225785583525a7.tar.xz mpd-ddc7120ac09d8760edf31026bd225785583525a7.zip |
screen_song: check CMD_VIEW only if song screen is enabled
Diffstat (limited to '')
-rw-r--r-- | src/command.c | 2 |
1 files changed, 2 insertions, 0 deletions
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") }, |