SP->shell was redundant in function, and was never set to TRUE.

This commit is contained in:
William McBrine
2006-07-29 22:01:20 +00:00
parent a40cc473ff
commit 2bca2b7d7d
3 changed files with 3 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
* See the file maintain.er for details of the current maintainer. *
************************************************************************/
/* $Id: curses.h,v 1.201 2006/07/29 06:00:54 wmcbrine Exp $ */
/* $Id: curses.h,v 1.202 2006/07/29 22:01:20 wmcbrine Exp $ */
/*----------------------------------------------------------------------*
* PDCurses *

View File

@@ -38,7 +38,7 @@
# undef wnoutrefresh
#endif
RCSID("$Id: initscr.c,v 1.62 2006/07/24 20:34:19 wmcbrine Exp $");
RCSID("$Id: initscr.c,v 1.63 2006/07/29 22:01:20 wmcbrine Exp $");
const char *_curses_notice = "PDCurses 3.0 - Public Domain 2006";
@@ -188,7 +188,6 @@ WINDOW *Xinitscr(int argc, char *argv[])
SP->audible = TRUE;
SP->blank = ' ';
SP->resized = FALSE;
SP->shell = FALSE;
SP->_trap_mbe = 0L;
SP->_map_mbe_to_key = 0L;
SP->linesrippedoff = 0;

View File

@@ -38,7 +38,7 @@
# undef reset_prog_mode
#endif
RCSID("$Id: refresh.c,v 1.35 2006/07/28 22:06:53 wmcbrine Exp $");
RCSID("$Id: refresh.c,v 1.36 2006/07/29 22:01:20 wmcbrine Exp $");
/*man-start**************************************************************
@@ -192,9 +192,6 @@ int doupdate(void)
SP->alive = TRUE; /* so isendwin() result is correct */
}
if (SP->shell)
reset_prog_mode();
if (curscr == (WINDOW *)NULL)
return ERR;