diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-16 17:14:48 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-16 17:14:48 +0000 |
commit | 77c0c006eed50729949dea99a86d383f7c2941d9 (patch) | |
tree | b7277f4b3aedb7b9467ba3bc0a1584a7905e2407 /mdoc_term.c | |
parent | 0ba885d297e0269ad327b1f239e814367e98e76c (diff) | |
download | mandoc-77c0c006eed50729949dea99a86d383f7c2941d9.tar.gz mandoc-77c0c006eed50729949dea99a86d383f7c2941d9.tar.zst mandoc-77c0c006eed50729949dea99a86d383f7c2941d9.zip |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index a5de4519..8af3670a 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.198 2010/12/15 23:44:02 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.199 2010/12/16 17:14:48 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -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; } |