aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.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
commit2d0cf7beb1dc10f2e89c1a7f207fe0f13ecd686b (patch)
treed32998be3179c948976722b7127a255f2c573bcb /html.c
parent14dd68aa4e634a8d52f644c5a60a89711bc157f5 (diff)
downloadmandoc-2d0cf7beb1dc10f2e89c1a7f207fe0f13ecd686b.tar.gz
mandoc-2d0cf7beb1dc10f2e89c1a7f207fe0f13ecd686b.tar.zst
mandoc-2d0cf7beb1dc10f2e89c1a7f207fe0f13ecd686b.zip
Rename mchars_init() -> mchars_alloc() for consistency.
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index f5f1e95e..b6bfe8d2 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.135 2011/04/30 22:14:02 kristaps Exp $ */
+/* $Id: html.c,v 1.136 2011/04/30 22:14:42 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -122,7 +122,7 @@ ml_alloc(char *outopts, enum htmltype type)
h->type = type;
h->tags.head = NULL;
- h->symtab = mchars_init();
+ h->symtab = mchars_alloc();
while (outopts && *outopts)
switch (getsubopt(&outopts, UNCONST(toks), &v)) {