summaryrefslogtreecommitdiff
path: root/libterm/tgoto.c
diff options
context:
space:
mode:
Diffstat (limited to 'libterm/tgoto.c')
-rw-r--r--libterm/tgoto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libterm/tgoto.c b/libterm/tgoto.c
index 07316db..c497046 100644
--- a/libterm/tgoto.c
+++ b/libterm/tgoto.c
@@ -102,7 +102,7 @@ toohard:
return ("OOPS");
}
added[0] = 0;
- while (c = *cp++) {
+ while ((c = *cp++)) {
if (c != '%') {
*dp++ = c;
continue;