mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 07:45:21 +00:00
Notational change. To Do: pnoutrefresh() needs to be optimized in the
same way as wnoutrefresh().
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <curspriv.h>
|
||||
|
||||
RCSID("$Id: pad.c,v 1.45 2007/06/14 14:11:30 wmcbrine Exp $")
|
||||
RCSID("$Id: pad.c,v 1.46 2007/06/21 22:01:12 wmcbrine Exp $")
|
||||
|
||||
/*man-start**************************************************************
|
||||
|
||||
@@ -220,8 +220,8 @@ int pnoutrefresh(WINDOW *w, int py, int px, int sy1, int sx1, int sy2, int sx2)
|
||||
{
|
||||
if (pline < w->_maxy)
|
||||
{
|
||||
memcpy(&(curscr->_y[sline][sx1]), &(w->_y[pline][px]),
|
||||
(num_cols) * sizeof(chtype));
|
||||
memcpy(curscr->_y[sline] + sx1, w->_y[pline] + px,
|
||||
num_cols * sizeof(chtype));
|
||||
|
||||
if ((curscr->_firstch[sline] == _NO_CHANGE)
|
||||
|| (curscr->_firstch[sline] > sx1))
|
||||
|
||||
Reference in New Issue
Block a user