Give feedback when typing '/' in the watching menu.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@497 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Pasi Kallinen 2009-10-18 17:21:56 +00:00
parent afef47940f
commit 6a703c4bf7
1 changed files with 3 additions and 1 deletions

View 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;