diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-16 22:33:30 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-16 22:33:30 +0000 |
commit | 0b50b90cf4efcd1646b2517a4777605ab2e844df (patch) | |
tree | 9a4b11349f5dc2acdd4280d4f9425d7b766be9a7 /term.c | |
parent | 4d45f12df9f220592a0c1b2eabe51d82cdc74daa (diff) | |
download | mandoc-0b50b90cf4efcd1646b2517a4777605ab2e844df.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |