diff options
author | Max Kellermann <max@duempel.org> | 2008-11-30 20:41:01 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-30 20:41:01 +0100 |
commit | 649e770b6e9a93c09f85318e7c8a87b12fd245ba (patch) | |
tree | be462d6602af9022ce64938ea0f0e2dead68b1e1 /src | |
parent | 7c5f89a52838cfe24b3bff7e384fd17d1a1f5ba2 (diff) | |
download | mpd-649e770b6e9a93c09f85318e7c8a87b12fd245ba.tar.gz mpd-649e770b6e9a93c09f85318e7c8a87b12fd245ba.tar.xz mpd-649e770b6e9a93c09f85318e7c8a87b12fd245ba.zip |
screen: don't show disabled help screen in screen list
When the help screen was disabled at compile time, it was showed in
the screen list anyway.
Diffstat (limited to 'src')
-rw-r--r-- | src/screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c index 569df7a51..32fc668c0 100644 --- a/src/screen.c +++ b/src/screen.c @@ -145,7 +145,9 @@ paint_top_window2(const char *header, mpdclient_t *c) mvwaddstr(w, 0, 0, header); #ifndef NCMPC_MINI } else { +#ifdef ENABLE_HELP_SCREEN print_hotkey(w, CMD_SCREEN_HELP, _("Help")); +#endif print_hotkey(w, CMD_SCREEN_PLAY, _("Playlist")); print_hotkey(w, CMD_SCREEN_FILE, _("Browse")); #ifdef ENABLE_ARTIST_SCREEN |