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: manually fix indentation



details:   https://anonhg.NetBSD.org/src/rev/c6d790441333
branches:  trunk
changeset: 981450:c6d790441333
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Mar 12 00:15:34 2021 +0000

description:
indent: manually fix indentation

No functional change.

diffstat:

 usr.bin/indent/indent.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e630d3e05a0e -r c6d790441333 usr.bin/indent/indent.c
--- a/usr.bin/indent/indent.c   Fri Mar 12 00:13:06 2021 +0000
+++ b/usr.bin/indent/indent.c   Fri Mar 12 00:15:34 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: indent.c,v 1.43 2021/03/11 22:32:06 rillig Exp $       */
+/*     $NetBSD: indent.c,v 1.44 2021/03/12 00:15:34 rillig Exp $       */
 
 /*-
  * SPDX-License-Identifier: BSD-4-Clause
@@ -46,7 +46,7 @@
 #include <sys/cdefs.h>
 #ifndef lint
 #if defined(__NetBSD__)
-__RCSID("$NetBSD: indent.c,v 1.43 2021/03/11 22:32:06 rillig Exp $");
+__RCSID("$NetBSD: indent.c,v 1.44 2021/03/12 00:15:34 rillig Exp $");
 #elif defined(__FreeBSD__)
 __FBSDID("$FreeBSD: head/usr.bin/indent/indent.c 340138 2018-11-04 19:24:49Z oshogbo $");
 #endif
@@ -995,7 +995,7 @@
            prefix_blankline_requested = 0;
            parse(rbrace);      /* let parser know about this */
            ps.search_brace = opt.cuddle_else
-               && ps.p_stack[ps.tos] == if_expr_stmt
+               && ps.p_stack[ps.tos] == if_expr_stmt
                && ps.il[ps.tos] >= ps.ind_level;
            if (ps.tos <= 1 && opt.blanklines_after_procs && ps.dec_nest <= 0)
                postfix_blankline_requested = 1;



Home | Main Index | Thread Index | Old Index