aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-17 16:44:41 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-17 16:44:41 +0000
commitdf7b2a1342ec64fb03c3d0d0fae459a26ab1cdda (patch)
tree784fb001c8c3daed758984b0295f1e421efa57c1 /mdoc_term.c
parentedaaac97ad1b06b9ec35a2d5c1a5ff0258cc5956 (diff)
downloadmandoc-df7b2a1342ec64fb03c3d0d0fae459a26ab1cdda.tar.gz
mandoc-df7b2a1342ec64fb03c3d0d0fae459a26ab1cdda.tar.zst
mandoc-df7b2a1342ec64fb03c3d0d0fae459a26ab1cdda.zip
KNF: fix indentation of previous commit, see style(9):
"Indentation is an 8 character tab. Second level indents are four spaces." All the rest of this file already conforms.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index d647616c..7db9cab0 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.277 2014/08/17 08:37:11 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.278 2014/08/17 16:44:41 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -807,9 +807,9 @@ termp_it_pre(DECL_ARGS)
* this as a `-ohang' list instead.
*/
if (NULL != n->next &&
- NULL != n->next->child &&
- (MDOC_Bl == n->next->child->tok ||
- MDOC_Bd == n->next->child->tok))
+ NULL != n->next->child &&
+ (MDOC_Bl == n->next->child->tok ||
+ MDOC_Bd == n->next->child->tok))
break;
p->flags |= TERMP_NOBREAK | TERMP_BRIND | TERMP_HANG;
@@ -864,10 +864,10 @@ termp_it_pre(DECL_ARGS)
* using `Bd' or `Bl' within `-hang' overstep lists.
*/
if (MDOC_HEAD == n->type &&
- NULL != n->next &&
- NULL != n->next->child &&
- (MDOC_Bl == n->next->child->tok ||
- MDOC_Bd == n->next->child->tok))
+ NULL != n->next &&
+ NULL != n->next->child &&
+ (MDOC_Bl == n->next->child->tok ||
+ MDOC_Bd == n->next->child->tok))
break;
/* FALLTHROUGH */
case LIST_bullet:
@@ -1031,7 +1031,7 @@ termp_nm_pre(DECL_ARGS)
synopsis_pre(p, n->parent);
if (MDOC_HEAD == n->type &&
- NULL != n->next && NULL != n->next->child) {
+ NULL != n->next && NULL != n->next->child) {
p->flags |= TERMP_NOSPACE | TERMP_NOBREAK | TERMP_BRIND;
p->trailspace = 1;
p->rmargin = p->offset + term_len(p, 1);
@@ -1060,7 +1060,7 @@ termp_nm_post(DECL_ARGS)
if (MDOC_BLOCK == n->type) {
p->flags &= ~(TERMP_KEEP | TERMP_PREKEEP);
} else if (MDOC_HEAD == n->type &&
- NULL != n->next && NULL != n->next->child) {
+ NULL != n->next && NULL != n->next->child) {
term_flushln(p);
p->flags &= ~(TERMP_NOBREAK | TERMP_BRIND | TERMP_HANG);
p->trailspace = 0;