X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/d069a50819a11a3aa7832b7c166b288a2aa34929..b041ccece3687baa46a947a5695b634ef113edfd:/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 58740aa408..9fa6fd7670 100644 --- a/usr/src/usr.bin/window/wwinschar.c +++ b/usr/src/usr.bin/window/wwinschar.c @@ -1,7 +1,13 @@ #ifndef lint -static char *sccsid = "@(#)wwinschar.c 3.11 83/12/02"; +static char sccsid[] = "@(#)wwinschar.c 3.14 %G%"; #endif +/* + * Copyright (c) 1983 Regents of the University of California, + * All rights reserved. Redistribution permitted subject to + * the terms of the Berkeley Software License Agreement. + */ + #include "ww.h" #include "tt.h" @@ -60,7 +66,7 @@ short c; 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;