diff options
author | 2017-02-15 14:09:07 +0000 | |
---|---|---|
committer | 2017-02-15 14:09:07 +0000 | |
commit | 7d6dc1476b9f43cb973122b5a24f31a32c620419 (patch) | |
tree | 3ed4826f27269f2f590274b2e29d59084a8cbd73 /usr.bin/mandoc/man_term.c | |
parent | improve list item formatting; (diff) | |
download | wireguard-openbsd-7d6dc1476b9f43cb973122b5a24f31a32c620419.tar.xz wireguard-openbsd-7d6dc1476b9f43cb973122b5a24f31a32c620419.zip |
Fix previous: I forgot that i had to change the convention how
a node is marked as "not a macro" when unifying the parsers.
Confirmed to work by Sevan Janiyan.
Diffstat (limited to 'usr.bin/mandoc/man_term.c')
-rw-r--r-- | usr.bin/mandoc/man_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man_term.c b/usr.bin/mandoc/man_term.c index 1594f3312f8..a4dfb648e99 100644 --- a/usr.bin/mandoc/man_term.c +++ b/usr.bin/mandoc/man_term.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man_term.c,v 1.143 2017/02/11 21:49:43 schwarze Exp $ */ +/* $OpenBSD: man_term.c,v 1.144 2017/02/15 14:09:07 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -820,7 +820,7 @@ pre_SH(DECL_ARGS) do { n = n->prev; - } while (n != NULL && n->tok < MAN_MAX && + } while (n != NULL && n->tok != TOKEN_NONE && termacts[n->tok].flags & MAN_NOTEXT); if (n == NULL || (n->tok == MAN_SH && n->body->child == NULL)) break; |