Lines Matching refs:win1
32 * This routine writes win1 on win2 destructively.
36 overwrite(WINDOW *win1, WINDOW *win2)
41 fprintf(outf, "OVERWRITE(%0.2o, %0.2o);\n", win1, win2);
43 starty = max(win1->_begy, win2->_begy);
44 startx = max(win1->_begx, win2->_begx);
45 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy);
46 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx);
56 &win1->_y[y - win1->_begy][startx - win1->_begx], x);