summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-04-30 22:14:42 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-04-30 22:14:42 +0000
commit8978dc20be98c1d06b71ccbb2bb988879f8a2d1c (patch)
treedd0791ef4fe7c16a4091258237bfa1a19e0b1d25 /mdoc_term.c
parent81b57ab7ff9feb505ae3ae1ed097ad8b36b24fe7 (diff)
downloadmandoc-8978dc20be98c1d06b71ccbb2bb988879f8a2d1c.tar.gz
Rename mchars_init() -> mchars_alloc() for consistency.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 6cdfa344..0ccacd66 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -266,7 +266,7 @@ terminal_mdoc(void *arg, const struct mdoc *mdoc)
if (NULL == p->symtab)
switch (p->enc) {
case (TERMENC_ASCII):
- p->symtab = mchars_init();
+ p->symtab = mchars_alloc();
break;
default:
abort();