From 649e770b6e9a93c09f85318e7c8a87b12fd245ba Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 30 Nov 2008 20:41:01 +0100 Subject: [PATCH] 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. --- src/screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/screen.c b/src/screen.c index 569df7a..32fc668 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 -- 2.30.2