Reindent a few lineeq() calls now that we can w/out exceeding 80
columns limit. Whitespace change only.
This commit is contained in:
parent
47498e515e
commit
5938495dd2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue