mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 15:55:14 +00:00
Redundant check.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user