summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-16 17:14:48 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-16 17:14:48 +0000
commit266c94623f8d47d4db151c4f7b291320e7613f02 (patch)
treee2b020f3868e8909bad880f7da818c2ec205b198 /mdoc_term.c
parentfb50684f4490a50ea91755bfd78db1ce643e2006 (diff)
downloadmandoc-266c94623f8d47d4db151c4f7b291320e7613f02.tar.gz
Migrate `An' to use a pointer in its data, like everybody else. This is
the first step to having a simpler ref-counted system for "data" associated with a node.
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 820db16e..9ee6b3bb 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1116,10 +1116,10 @@ termp_an_post(DECL_ARGS)
return;
}
- if (AUTH_split == n->data.An.auth) {
+ if (AUTH_split == n->data.An->auth) {
p->flags &= ~TERMP_NOSPLIT;
p->flags |= TERMP_SPLIT;
- } else if (AUTH_nosplit == n->data.An.auth) {
+ } else if (AUTH_nosplit == n->data.An->auth) {
p->flags &= ~TERMP_SPLIT;
p->flags |= TERMP_NOSPLIT;
}