]> skyeroc.xyz Git - dgamelaunch/commitdiff
Give feedback when typing '/' in the watching menu.
authorPasi Kallinen <paxed@alt.org>
Sun, 18 Oct 2009 17:21:56 +0000 (17:21 +0000)
committerPasi Kallinen <paxed@alt.org>
Sun, 18 Oct 2009 17:21:56 +0000 (17:21 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@497 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

dgamelaunch.c

index 972a02757015421ceeca3607a2a572824ca24e9d..0f97f85ca00839eebe50a0173358cd0564b7ebda 100644 (file)
@@ -506,7 +506,9 @@ inprogressmenu (int gameid)
                int match = -1;
                char findname[21];
                findname[0] = '\0';
-               if ((mygetnstr(findname, 20, 0) == OK) && (strlen(findname) > 1)) {
+              mvprintw ((btm+2+top_banner_hei), 1, "Watch which player? =>                 "); /* stupid... */
+              mvaddstr ((btm+2+top_banner_hei), 1, "Watch which player? => ");
+               if ((mygetnstr(findname, 20, 1) == OK) && (strlen(findname) > 1)) {
                    for (i = 0; i < len; i++)
                        if (!strcmp(games[i]->name, findname)) {
                            match = i;