X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fbs.c;h=5959758858e9c7b284806b12140e17a90c3e36e1;hp=7f2984742c7136073ebf4a23ab017be2290955c1;hb=af3d0ee323cbb22d2a7596d564bf68f7307f5076;hpb=dee978d1ba016c8f327516f684900f95ee7a2b30 diff --git a/test/bs.c b/test/bs.c index 7f298474..59597588 100644 --- a/test/bs.c +++ b/test/bs.c @@ -34,7 +34,7 @@ * v2.0 featuring strict ANSI/POSIX conformance, November 1993. * v2.1 with ncurses mouse support, September 1995 * - * $Id: bs.c,v 1.67 2017/05/14 00:27:05 tom Exp $ + * $Id: bs.c,v 1.68 2017/06/17 18:45:40 tom Exp $ */ #include @@ -220,6 +220,7 @@ intro(void) srand((unsigned) (time(0L) + getpid())); /* Kick the random number generator */ CATCHALL(uninitgame); + (void) initscr(); if ((tmpname = getlogin()) != 0 && (your_name = strdup(tmpname)) != 0) { @@ -228,7 +229,6 @@ intro(void) your_name = strdup(dftname); } - (void) initscr(); keypad(stdscr, TRUE); (void) def_prog_mode(); (void) nonl();