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
WWU_MAJOR, clreol in wwupdate(), and more optimizations.
[unix-history]
/
usr
/
src
/
usr.bin
/
window
/
wwinschar.c
diff --git
a/usr/src/usr.bin/window/wwinschar.c
b/usr/src/usr.bin/window/wwinschar.c
index
58740aa
..
3036a1c
100644
(file)
--- a/
usr/src/usr.bin/window/wwinschar.c
+++ b/
usr/src/usr.bin/window/wwinschar.c
@@
-1,5
+1,5
@@
#ifndef lint
#ifndef lint
-static char *sccsid = "@(#)wwinschar.c 3.1
1
83/12/02";
+static char *sccsid = "@(#)wwinschar.c 3.1
2
83/12/02";
#endif
#include "ww.h"
#endif
#include "ww.h"
@@
-60,7
+60,7
@@
short c;
for (; i < w->ww_i.r; i++) {
if (*smap++ != w->ww_index)
continue;
for (; i < w->ww_i.r; i++) {
if (*smap++ != w->ww_index)
continue;
- touched
= 1
;
+ touched
|= WWU_TOUCHED
;
if (win[i])
ns[i].c_w =
buf[i].c_w ^ win[i] << WWC_MSHIFT;
if (win[i])
ns[i].c_w =
buf[i].c_w ^ win[i] << WWC_MSHIFT;