summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-07-25 14:02:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-07-25 14:02:06 +0000
commit8ecd58a3e222c5d6df72c264a6aad988c28321a4 (patch)
treeb9e03a585ffa25006118286ff62be9f72972a303 /mdoc_term.c
parentbb2b6d70625fb83d3ac31a1015588226c42b8457 (diff)
downloadmandoc-8ecd58a3e222c5d6df72c264a6aad988c28321a4.tar.gz
basic support for tag priorities; written at YYC
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 95790806..10ebbc51 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -2268,7 +2268,7 @@ termp_tag_pre(DECL_ARGS)
(n->parent->tok == MDOC_Xo &&
n->parent->parent->prev == NULL &&
n->parent->parent->parent->tok == MDOC_It)) &&
- ! tag_get(n->child->string, 0))
- tag_put(n->child->string, 0, p->line);
+ ! tag_get(n->child->string, 0, 1))
+ tag_put(n->child->string, 0, 1, p->line);
return(1);
}