aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-16 22:33:30 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-16 22:33:30 +0000
commit3e23d66c0abbb35f937f3969d2a6a54cb8827037 (patch)
treee6ae9ff55ef8a20efee8de4163642ec4b67e987d /term.c
parente908f08f63ef539a58d1085a4f750d95d53bb175 (diff)
downloadmandoc-3e23d66c0abbb35f937f3969d2a6a54cb8827037.tar.gz
mandoc-3e23d66c0abbb35f937f3969d2a6a54cb8827037.tar.zst
mandoc-3e23d66c0abbb35f937f3969d2a6a54cb8827037.zip
Change chars.in HTML encoding to be a Unicode codepoint (int), which is
later formatted in html.c.
Diffstat (limited to 'term.c')
-rw-r--r--term.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/term.c b/term.c
index 2d49a69b..b4cd5b97 100644
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/* $Id: term.c,v 1.160 2010/07/07 15:04:54 kristaps Exp $ */
+/* $Id: term.c,v 1.161 2010/07/16 22:33:30 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -365,7 +365,7 @@ spec(struct termp *p, const char *word, size_t len)
const char *rhs;
size_t sz;
- rhs = chars_a2ascii(p->symtab, word, len, &sz);
+ rhs = chars_spec2str(p->symtab, word, len, &sz);
if (rhs)
encode(p, rhs, sz);
}
@@ -377,7 +377,7 @@ res(struct termp *p, const char *word, size_t len)
const char *rhs;
size_t sz;
- rhs = chars_a2res(p->symtab, word, len, &sz);
+ rhs = chars_res2str(p->symtab, word, len, &sz);
if (rhs)
encode(p, rhs, sz);
}