diff options
Diffstat (limited to 'lib/libncurses/lib_initscr.c')
-rw-r--r-- | lib/libncurses/lib_initscr.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libncurses/lib_initscr.c b/lib/libncurses/lib_initscr.c index a81783f..930245b7 100644 --- a/lib/libncurses/lib_initscr.c +++ b/lib/libncurses/lib_initscr.c @@ -13,17 +13,20 @@ #include <stdlib.h> #include "curses.priv.h" +extern char _ncurses_copyright[]; + WINDOW *initscr() { + char *use_it; #ifdef TRACE _init_trace(); if (_tracing) _tracef("initscr() called"); #endif - + use_it = _ncurses_copyright; if (newterm(getenv("TERM"), stdout, stdin) == NULL) - return NULL; + return NULL; else { def_shell_mode(); def_prog_mode(); |