diff --git a/curses.h b/curses.h index 99827640..896bc35f 100644 --- a/curses.h +++ b/curses.h @@ -15,7 +15,7 @@ * See the file maintain.er for details of the current maintainer. * ************************************************************************/ -/* $Id: curses.h,v 1.205 2006/07/30 19:18:00 wmcbrine Exp $ */ +/* $Id: curses.h,v 1.206 2006/08/10 07:17:14 wmcbrine Exp $ */ /*----------------------------------------------------------------------* * PDCurses * @@ -681,11 +681,6 @@ extern MOUSE_STATUS Mouse_status; extern int COLORS, COLOR_PAIRS, TABSIZE; #endif -#ifdef CURSES_LIBRARY -extern int _default_lines; /* For presetting maximum lines */ -#endif - - /*man-start************************************************************** diff --git a/dos/pdcgetsc.c b/dos/pdcgetsc.c index 27ec3f26..594c400b 100644 --- a/dos/pdcgetsc.c +++ b/dos/pdcgetsc.c @@ -19,7 +19,7 @@ #include -RCSID("$Id: pdcgetsc.c,v 1.28 2006/07/30 22:00:25 wmcbrine Exp $"); +RCSID("$Id: pdcgetsc.c,v 1.29 2006/08/10 07:17:15 wmcbrine Exp $"); /*man-start************************************************************** @@ -213,7 +213,7 @@ int PDC_get_rows(void) if (rows == 1) { - rows = _default_lines; /* Allow pre-setting LINES */ + rows = 25; SP->direct_video = FALSE; } diff --git a/pdcurses/initscr.c b/pdcurses/initscr.c index f3282d1c..27182449 100644 --- a/pdcurses/initscr.c +++ b/pdcurses/initscr.c @@ -38,7 +38,7 @@ # undef wnoutrefresh #endif -RCSID("$Id: initscr.c,v 1.65 2006/08/01 03:16:17 wmcbrine Exp $"); +RCSID("$Id: initscr.c,v 1.66 2006/08/10 07:17:15 wmcbrine Exp $"); const char *_curses_notice = "PDCurses 3.0 - Public Domain 2006"; @@ -46,7 +46,6 @@ SCREEN *SP = (SCREEN*)NULL; /* curses variables */ WINDOW *curscr = (WINDOW *)NULL; /* the current screen image */ WINDOW *stdscr = (WINDOW *)NULL; /* the default screen window */ -int _default_lines = 25; /* default terminal height */ int LINES = 0; /* current terminal height */ int COLS = 0; /* current terminal width */ int TABSIZE = 8;