4 /****************************************************************/
5 /* Wdeleteln() deletes the line at the window cursor, and the */
6 /* Lines below it are shifted up, inserting a blank line at */
7 /* The bottom of the window. */
8 /****************************************************************/
13 int *end
, *temp
, y
, blank
;
15 blank
= ' ' | (win
->_attrs
& ATR_MSK
);
17 temp
= win
->_line
[win
->_cury
];
18 for (y
= win
->_cury
; y
< win
->_regbottom
; y
++) {
19 win
->_line
[y
] = win
->_line
[y
+ 1];
21 win
->_maxchng
[y
] = win
->_maxx
;
24 win
->_maxchng
[y
] = win
->_maxx
;
25 win
->_line
[win
->_regbottom
] = temp
;
26 for (end
= &(temp
[win
->_maxx
]); temp
<= end
;) *temp
++ = blank
;