From 3e23d66c0abbb35f937f3969d2a6a54cb8827037 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 16 Jul 2010 22:33:30 +0000 Subject: Change chars.in HTML encoding to be a Unicode codepoint (int), which is later formatted in html.c. --- term.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'term.c') 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 * Copyright (c) 2010 Ingo Schwarze @@ -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); } -- cgit v1.2.3