aboutsummaryrefslogtreecommitdiffstats
path: root/glcd.c
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-07-18 03:28:23 +0200
committerTectu <joel@unormal.org>2012-07-18 03:28:23 +0200
commitc0b2ef5e8cc8239fc3ce16f42965b5dafbc923a7 (patch)
tree9a4f53aae35b359399e07dd9b78bd0256392aa7f /glcd.c
parent32fbc2f194610d932d762ade34302f8b8957b5f4 (diff)
downloaduGFX-c0b2ef5e8cc8239fc3ce16f42965b5dafbc923a7.tar.gz
uGFX-c0b2ef5e8cc8239fc3ce16f42965b5dafbc923a7.tar.bz2
uGFX-c0b2ef5e8cc8239fc3ce16f42965b5dafbc923a7.zip
fix
Diffstat (limited to 'glcd.c')
-rw-r--r--glcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glcd.c b/glcd.c
index 309470c4..af502532 100644
--- a/glcd.c
+++ b/glcd.c
@@ -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);