From 83ba8748bccb7da9ac39f59d26a46cac7909a601 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 12 Jan 2013 10:00:17 +0100 Subject: tdisp fixes --- src/tdisp/tdisp.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/tdisp/tdisp.c b/src/tdisp/tdisp.c index f10b09ee..22de001f 100644 --- a/src/tdisp/tdisp.c +++ b/src/tdisp/tdisp.c @@ -105,10 +105,8 @@ void tdispDrawChar(char c) { } void tdispDrawString(char *s) { - char c; - - while(c = *s++) - tdispDrawChar(c); + while(*s) + tdispDrawChar(*s++); } void tdispDrawCharLocation(coord_t col, coord_t row, char c) { -- cgit v1.2.3