Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/indent indent: fix misleading indentation in indent'...



details:   https://anonhg.NetBSD.org/src/rev/54eb64c477bf
branches:  trunk
changeset: 960240:54eb64c477bf
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Mar 12 18:11:50 2021 +0000

description:
indent: fix misleading indentation in indent's own code

No functional change.

diffstat:

 usr.bin/indent/lexi.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r d521dedc62ca -r 54eb64c477bf usr.bin/indent/lexi.c
--- a/usr.bin/indent/lexi.c     Fri Mar 12 18:10:00 2021 +0000
+++ b/usr.bin/indent/lexi.c     Fri Mar 12 18:11:50 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lexi.c,v 1.36 2021/03/12 17:46:48 rillig Exp $ */
+/*     $NetBSD: lexi.c,v 1.37 2021/03/12 18:11:50 rillig Exp $ */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -46,7 +46,7 @@
 #include <sys/cdefs.h>
 #ifndef lint
 #if defined(__NetBSD__)
-__RCSID("$NetBSD: lexi.c,v 1.36 2021/03/12 17:46:48 rillig Exp $");
+__RCSID("$NetBSD: lexi.c,v 1.37 2021/03/12 18:11:50 rillig Exp $");
 #elif defined(__FreeBSD__)
 __FBSDID("$FreeBSD: head/usr.bin/indent/lexi.c 337862 2018-08-15 18:19:45Z pstef $");
 #endif
@@ -352,8 +352,8 @@
                        buf_ptr += 2;
                        if (buf_ptr >= buf_end)
                            fill_buffer();
-                       } else
-                           break;
+                   } else
+                       break;
                }
                check_size_token(1);
                *e_token++ = inbuf_next();



Home | Main Index | Thread Index | Old Index