aboutsummaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-10-06 11:45:56 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-10-06 11:45:56 +0000
commitabba600e6fdb031951c32298f8be9e45fb339099 (patch)
treeac8e6e8ae5bd8922ffff03805923fe6f0557e8f1 /man_term.c
parent75b6c55cb02aaa5d40a725b90ffb672a4c25e2ee (diff)
downloadsrc-abba600e6fdb031951c32298f8be9e45fb339099.tar.gz
src-abba600e6fdb031951c32298f8be9e45fb339099.zip
Import mandoc 1.14.3vendor/mandoc/1.14.3
Notes
Notes: svn path=/vendor/mdocml/dist/; revision=324356 svn path=/vendor/mdocml/1.14.3/; revision=324357; tag=vendor/mandoc/1.14.3
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/man_term.c b/man_term.c
index fcdb45df8ddb..8946a05067a7 100644
--- a/man_term.c
+++ b/man_term.c
@@ -1,4 +1,4 @@
-/* $Id: man_term.c,v 1.208 2017/06/25 11:42:02 schwarze Exp $ */
+/* $Id: man_term.c,v 1.209 2017/07/31 15:19:06 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -673,7 +673,7 @@ pre_SS(DECL_ARGS)
do {
n = n->prev;
- } while (n != NULL && n->tok != TOKEN_NONE &&
+ } while (n != NULL && n->tok >= MAN_TH &&
termacts[n->tok].flags & MAN_NOTEXT);
if (n == NULL || (n->tok == MAN_SS && n->body->child == NULL))
break;
@@ -735,7 +735,7 @@ pre_SH(DECL_ARGS)
do {
n = n->prev;
- } while (n != NULL && n->tok != TOKEN_NONE &&
+ } while (n != NULL && n->tok >= MAN_TH &&
termacts[n->tok].flags & MAN_NOTEXT);
if (n == NULL || (n->tok == MAN_SH && n->body->child == NULL))
break;