aboutsummaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-04-14 19:07:40 +0000
committerKalle Wallin <kaw@linux.se>2004-04-14 19:07:40 +0000
commit7c22355588c81cfeb873137df8700f6c558c858d (patch)
tree0cca02d476bc837ae4e70ade10bc5ee00c405f74 /screen.c
parent5d1efb2ddf1a3021089deb40ad6a393e94f1da72 (diff)
downloadmpd-7c22355588c81cfeb873137df8700f6c558c858d.tar.gz
mpd-7c22355588c81cfeb873137df8700f6c558c858d.tar.xz
mpd-7c22355588c81cfeb873137df8700f6c558c858d.zip
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
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/screen.c b/screen.c
index dc48bec9a..d4cae53e6 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");
}