projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
error reporting
[unix-history]
/
usr
/
src
/
usr.bin
/
window
/
wwclreol.c
diff --git
a/usr/src/usr.bin/window/wwclreol.c
b/usr/src/usr.bin/window/wwclreol.c
index
dda910a
..
ccc1cb7
100644
(file)
--- a/
usr/src/usr.bin/window/wwclreol.c
+++ b/
usr/src/usr.bin/window/wwclreol.c
@@
-1,5
+1,5
@@
#ifndef lint
#ifndef lint
-static char *sccsid = "@(#)wwclreol.c 3.
6 83/08/17
";
+static char *sccsid = "@(#)wwclreol.c 3.
7 83/08/18
";
#endif
#include "ww.h"
#endif
#include "ww.h"
@@
-41,7
+41,7
@@
char cleared;
s = &wwns[srow][scol];
touched = &wwtouched[srow];
win = &w->ww_win[row][col];
s = &wwns[srow][scol];
touched = &wwtouched[srow];
win = &w->ww_win[row][col];
- buf = &w->ww_buf[
row
][col];
+ buf = &w->ww_buf[
line
][col];
ncleared = nblank = 0;
for (i = w->ww_w.nc - col; --i >= 0;) {
buf++->c_w = ' ';
ncleared = nblank = 0;
for (i = w->ww_w.nc - col; --i >= 0;) {
buf++->c_w = ' ';