summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-22 13:13:10 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-22 13:13:10 +0000
commite5f886f2585699404877aba14291673e85615e9b (patch)
tree46a17500fbebb5a2a2f97de7489b61193052db0a /term.c
parentf951b5d078f310702724f3214b50e17b27716023 (diff)
downloadmandoc-e5f886f2585699404877aba14291673e85615e9b.tar.gz
Lint fixes.VERSION.1.7.20
Version up.
Diffstat (limited to 'term.c')
-rw-r--r--term.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/term.c b/term.c
index b1653267..39bb8d8a 100644
--- a/term.c
+++ b/term.c
@@ -413,7 +413,8 @@ term_nescape(struct termp *p, const char *word, size_t len)
size_t sz;
int i;
- if ((rhs = term_a2ascii(p->symtab, word, len, &sz)))
+ rhs = term_a2ascii(p->symtab, word, len, &sz);
+ if (rhs)
for (i = 0; i < (int)sz; i++)
term_encodea(p, rhs[i]);
}