Module Name: src
Committed By: uwe
Date: Sun Nov 18 02:46:24 UTC 2018
Modified Files:
src/lib/libcurses: refresh.c
Log Message:
Reindent a few lineeq() calls now that we can w/out exceeding 80
columns limit. Whitespace change only.
To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/lib/libcurses/refresh.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libcurses/refresh.c
diff -u src/lib/libcurses/refresh.c:1.100 src/lib/libcurses/refresh.c:1.101
--- src/lib/libcurses/refresh.c:1.100 Sun Nov 18 02:39:44 2018
+++ src/lib/libcurses/refresh.c Sun Nov 18 02:46:24 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: refresh.c,v 1.100 2018/11/18 02:39:44 uwe Exp $ */
+/* $NetBSD: refresh.c,v 1.101 2018/11/18 02:46:24 uwe Exp $ */
/*
* Copyright (c) 1981, 1993, 1994
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)refresh.c 8.7 (Berkeley) 8/13/94";
#else
-__RCSID("$NetBSD: refresh.c,v 1.100 2018/11/18 02:39:44 uwe Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.101 2018/11/18 02:46:24 uwe Exp $");
#endif
#endif /* not lint */
@@ -1469,9 +1469,9 @@ quickch(void)
for (top = 0; top < __virtscr->maxy; top++) {
if (__virtscr->alines[top]->flags & __ISDIRTY &&
(__virtscr->alines[top]->hash != curscr->alines[top]->hash ||
- !lineeq(__virtscr->alines[top]->line,
- curscr->alines[top]->line,
- (size_t) __virtscr->maxx)))
+ !lineeq(__virtscr->alines[top]->line,
+ curscr->alines[top]->line,
+ (size_t) __virtscr->maxx)))
break;
else
__virtscr->alines[top]->flags &= ~__ISDIRTY;
@@ -1482,9 +1482,9 @@ quickch(void)
for (bot = __virtscr->maxy - 1; bot >= 0; bot--) {
if (__virtscr->alines[bot]->flags & __ISDIRTY &&
(__virtscr->alines[bot]->hash != curscr->alines[bot]->hash ||
- !lineeq(__virtscr->alines[bot]->line,
- curscr->alines[bot]->line,
- (size_t) __virtscr->maxx)))
+ !lineeq(__virtscr->alines[bot]->line,
+ curscr->alines[bot]->line,
+ (size_t) __virtscr->maxx)))
break;
else
__virtscr->alines[bot]->flags &= ~__ISDIRTY;
@@ -1546,8 +1546,8 @@ quickch(void)
for (curw = startw, curs = starts;
curs < starts + bsize; curw++, curs++)
if (!lineeq(__virtscr->alines[curw]->line,
- curscr->alines[curs]->line,
- (size_t) __virtscr->maxx))
+ curscr->alines[curs]->line,
+ (size_t) __virtscr->maxx))
break;
if (curs == starts + bsize)
goto done;