diff options
author | Tectu <joel@unormal.org> | 2012-07-18 03:28:23 +0200 |
---|---|---|
committer | Tectu <joel@unormal.org> | 2012-07-18 03:28:23 +0200 |
commit | c0b2ef5e8cc8239fc3ce16f42965b5dafbc923a7 (patch) | |
tree | 9a4f53aae35b359399e07dd9b78bd0256392aa7f /glcd.c | |
parent | 32fbc2f194610d932d762ade34302f8b8957b5f4 (diff) | |
download | uGFX-c0b2ef5e8cc8239fc3ce16f42965b5dafbc923a7.tar.gz uGFX-c0b2ef5e8cc8239fc3ce16f42965b5dafbc923a7.tar.bz2 uGFX-c0b2ef5e8cc8239fc3ce16f42965b5dafbc923a7.zip |
fix
Diffstat (limited to 'glcd.c')
-rw-r--r-- | glcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -372,7 +372,7 @@ uint16_t lcdDrawChar(uint16_t cx, uint16_t cy, char c, font_t font, uint16_t col /* WARNING: No boundary checks! Unpredictable behaviour if text exceeds boundary */ void lcdDrawString(uint16_t x, uint16_t y, const char *str, font_t font, uint16_t color, uint16_t bkcolor, bool_t tpText) { - uint16_t cx=x, cy=y; + uint16_t cx = x, cy = y; while (*str) { cx += lcdDrawChar(cx, cy, *str++, font, color, bkcolor, tpText); |