From 7c22355588c81cfeb873137df8700f6c558c858d Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Wed, 14 Apr 2004 19:07:40 +0000 Subject: [PATCH] Use get_key_names() for the keys displayed in the welcome message. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@756 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- screen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/screen.c b/screen.c index dc48bec..d4cae53 100644 --- a/screen.c +++ b/screen.c @@ -96,15 +96,15 @@ paint_top_window(char *header, int volume, int clear) else { wattron(w, A_BOLD); - waddstr(w, "1"); + waddstr(w, get_key_names(CMD_SCREEN_HELP, FALSE)); wattroff(w, A_BOLD); waddstr(w, ":Help "); wattron(w, A_BOLD); - waddstr(w, "2"); + waddstr(w, get_key_names(CMD_SCREEN_PLAY, FALSE)); wattroff(w, A_BOLD); waddstr(w, ":Playlist "); wattron(w, A_BOLD); - waddstr(w, "3"); + waddstr(w, get_key_names(CMD_SCREEN_FILE, FALSE)); wattroff(w, A_BOLD); waddstr(w, ":Browse"); } -- 2.30.2