From 923c10ecddac6baecf6db444cee68c380367592c Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 22 Jun 2009 13:13:10 +0000 Subject: Lint fixes. Version up. --- term.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'term.c') diff --git a/term.c b/term.c index 4ab338d9..ef221086 100644 --- a/term.c +++ b/term.c @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.82 2009/06/22 12:38:07 kristaps Exp $ */ +/* $Id: term.c,v 1.83 2009/06/22 13:13:10 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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]); } -- cgit v1.2.3-56-ge451