Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/nvi/dist/cl Use ISBLANK macro instead of isblan...



details:   https://anonhg.NetBSD.org/src/rev/ee483bffa7a9
branches:  trunk
changeset: 827789:ee483bffa7a9
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Nov 13 01:37:48 2017 +0000

description:
Use ISBLANK macro instead of isblank(3).

diffstat:

 external/bsd/nvi/dist/cl/cl_funcs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5c97030e0ac0 -r ee483bffa7a9 external/bsd/nvi/dist/cl/cl_funcs.c
--- a/external/bsd/nvi/dist/cl/cl_funcs.c       Mon Nov 13 01:34:59 2017 +0000
+++ b/external/bsd/nvi/dist/cl/cl_funcs.c       Mon Nov 13 01:37:48 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cl_funcs.c,v 1.5 2017/11/12 15:33:03 rin Exp $ */
+/*     $NetBSD: cl_funcs.c,v 1.6 2017/11/13 01:37:48 rin Exp $ */
 /*-
  * Copyright (c) 1993, 1994
  *     The Regents of the University of California.  All rights reserved.
@@ -16,7 +16,7 @@
 static const char sccsid[] = "Id: cl_funcs.c,v 10.72 2002/03/02 23:18:33 skimo Exp  (Berkeley) Date: 2002/03/02 23:18:33 ";
 #endif /* not lint */
 #else
-__RCSID("$NetBSD: cl_funcs.c,v 1.5 2017/11/12 15:33:03 rin Exp $");
+__RCSID("$NetBSD: cl_funcs.c,v 1.6 2017/11/13 01:37:48 rin Exp $");
 #endif
 
 #include <sys/types.h>
@@ -346,7 +346,7 @@
                for (lno = RLNO(sp, LASTLINE(sp)), col = spcnt = 0;;) {
                        (void)wmove(win, lno, col);
                        ch = winch(win);
-                       if (isblank(ch))
+                       if (ISBLANK(ch))
                                ++spcnt;
                        else {
                                (void)wmove(win, lno, col - spcnt);



Home | Main Index | Thread Index | Old Index