summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/lcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c
index e2e7514..2062a1d 100644
--- a/firmware/drivers/lcd.c
+++ b/firmware/drivers/lcd.c
@@ -794,7 +794,7 @@ int lcd_getstringsize(unsigned char *str, unsigned int font, int *w, int *h)
ch -= ASCII_MIN;
byte = char_dw_8x8_prop[ch][8];
- width += byte>>4;
+ width += (byte>>4) + 1;
if((byte & 0x0f) > height)
height = byte & 0x0f;