diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-01-12 10:00:17 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-01-12 10:00:17 +0100 |
commit | 83ba8748bccb7da9ac39f59d26a46cac7909a601 (patch) | |
tree | a7eef686569fbb4425607957376397ebabbc0a0c /src | |
parent | 1c1b3c8d74b1bff02bffbec91bcdc96fce61a82e (diff) | |
download | uGFX-83ba8748bccb7da9ac39f59d26a46cac7909a601.tar.gz uGFX-83ba8748bccb7da9ac39f59d26a46cac7909a601.tar.bz2 uGFX-83ba8748bccb7da9ac39f59d26a46cac7909a601.zip |
tdisp fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/tdisp/tdisp.c | 6 |
1 files changed, 2 insertions, 4 deletions
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) { |