Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libcurses Reindent a few lineeq() calls now that we can ...



details:   https://anonhg.NetBSD.org/src/rev/2ec0cc9f853a
branches:  trunk
changeset: 445928:2ec0cc9f853a
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sun Nov 18 02:46:24 2018 +0000

description:
Reindent a few lineeq() calls now that we can w/out exceeding 80
columns limit.  Whitespace change only.

diffstat:

 lib/libcurses/refresh.c |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (55 lines):

diff -r f6b52165a283 -r 2ec0cc9f853a lib/libcurses/refresh.c
--- a/lib/libcurses/refresh.c   Sun Nov 18 02:39:44 2018 +0000
+++ b/lib/libcurses/refresh.c   Sun Nov 18 02:46:24 2018 +0000
@@ -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 @@
        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 @@
        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 @@
                                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;



Home | Main Index | Thread Index | Old Index