diff options
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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]); } |