From: Max Kellermann Date: Wed, 10 Dec 2008 18:47:21 +0000 (+0100) Subject: screen: use print_hotkey() for the output screen tab X-Git-Tag: release-0.13~80 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ec5c3eef2838a8849acb4bfba5b75171715183fb;p=ncmpc.git screen: use print_hotkey() for the output screen tab Don't use markup in the translated string; use print_hotkey() as a simple wrapper. --- diff --git a/src/screen.c b/src/screen.c index a697fdf..03e50fa 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 }