Code

Use get_key_names() for the keys displayed in the welcome message.
authorKalle Wallin <kaw@linux.se>
Wed, 14 Apr 2004 19:07:40 +0000 (19:07 +0000)
committerKalle Wallin <kaw@linux.se>
Wed, 14 Apr 2004 19:07:40 +0000 (19:07 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@756 09075e82-0dd4-0310-85a5-a0d7c8717e4f

screen.c

index dc48bec9a67880c18c6a3a84753719d9ac0d1455..d4cae53e6f2f1963346115270c97c7d08458e38e 100644 (file)
--- 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");
        }