diff --git a/pdcurses/pad.c b/pdcurses/pad.c index fea52d9f..72c4d0b8 100644 --- a/pdcurses/pad.c +++ b/pdcurses/pad.c @@ -32,7 +32,7 @@ # undef doupdate #endif -RCSID("$Id: pad.c,v 1.27 2006/07/15 15:38:24 wmcbrine Exp $"); +RCSID("$Id: pad.c,v 1.28 2006/07/24 01:01:56 wmcbrine Exp $"); /* save values for pechochar() */ @@ -222,9 +222,6 @@ int prefresh(WINDOW *win, int py, int px, int sy1, int sx1, int sy2, int sx2) { PDC_LOG(("prefresh() - called\n")); - if (win == (WINDOW *)NULL) - return ERR; - if (pnoutrefresh(win, py, px, sy1, sx1, sy2, sx2) == ERR) return ERR;