diff --git a/src/title_bar.c b/src/title_bar.c
index 5fa0ca58a46402b9086eec3b99c84e664e96b694..e83156519a4890ef2a10c13248638ecdcba00b04 100644 (file)
--- a/src/title_bar.c
+++ b/src/title_bar.c
/* ncmpc (Ncurses MPD Client)
- * (c) 2004-2009 The Music Player Daemon Project
+ * (c) 2004-2010 The Music Player Daemon Project
* Project homepage: http://musicpd.org
*
* This program is free software; you can redistribute it and/or modify
#include "i18n.h"
#include "charset.h"
+#include "config.h"
+
#include <mpd/client.h>
#include <glib.h>
print_hotkey(WINDOW *w, command_t cmd, const char *label)
{
colors_use(w, COLOR_TITLE_BOLD);
- waddstr(w, get_key_names(cmd, FALSE));
+ waddstr(w, get_key_names(cmd, false));
colors_use(w, COLOR_TITLE);
waddch(w, ':');
waddstr(w, label);
#ifdef ENABLE_OUTPUTS_SCREEN
print_hotkey(w, CMD_SCREEN_OUTPUTS, _("Outputs"));
#endif
+#ifdef ENABLE_CHAT_SCREEN
+ print_hotkey(w, CMD_SCREEN_CHAT, _("Chat"));
+#endif
#endif
}