aboutsummaryrefslogtreecommitdiffstats
path: root/glcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'glcd.c')
-rw-r--r--glcd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/glcd.c b/glcd.c
index 1a77af1b..e6a5cbb5 100644
--- a/glcd.c
+++ b/glcd.c
@@ -191,11 +191,7 @@ int lcdDrawChar(uint16_t cx, uint16_t cy, char c, font_t font, uint16_t color, u
/* Return the width of the character, we need it so that lcdDrawString may work
* We don't have a static address counter */
-
- /* Abhishek: what should padAfter be?
- * return charWidth+padAfter;
- */
- return charWidth;
+ return charWidth + padAfterChar;
}
/* WARNING: No boundary checks! Unpredictable behaviour if text exceeds boundary */