aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-10 19:47:21 +0100
committerMax Kellermann <max@duempel.org>2008-12-10 19:47:21 +0100
commitec5c3eef2838a8849acb4bfba5b75171715183fb (patch)
treef5ad7d7218424be4f5965ff1cf01a1330ead1676 /src
parent1e4ba65c87c4a62e8445420b1ba748a73a9cf887 (diff)
downloadmpd-ec5c3eef2838a8849acb4bfba5b75171715183fb.tar.gz
mpd-ec5c3eef2838a8849acb4bfba5b75171715183fb.tar.xz
mpd-ec5c3eef2838a8849acb4bfba5b75171715183fb.zip
screen: use print_hotkey() for the output screen tab
Don't use markup in the translated string; use print_hotkey() as a simple wrapper.
Diffstat (limited to 'src')
-rw-r--r--src/screen.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/screen.c b/src/screen.c
index a697fdfd6..03e50faab 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -160,10 +160,7 @@ paint_top_window2(const char *header, mpdclient_t *c)
print_hotkey(w, CMD_SCREEN_LYRICS, _("Lyrics"));
#endif
#ifdef ENABLE_OUTPUTS_SCREEN
- colors_use(w, COLOR_TITLE_BOLD);
- waddstr(w, get_key_names(CMD_SCREEN_OUTPUTS, FALSE));
- colors_use(w, COLOR_TITLE);
- waddstr(w, _(":Outputs "));
+ print_hotkey(w, CMD_SCREEN_OUTPUTS, _("Outputs"));
#endif
#endif
}