_default_lines: not useful.

This commit is contained in:
William McBrine
2006-08-10 07:17:15 +00:00
parent f92df4f8cd
commit 591002bada
3 changed files with 4 additions and 10 deletions

View File

@@ -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**************************************************************

View File

@@ -19,7 +19,7 @@
#include <stdlib.h>
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;
}

View File

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