summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/lcd-bitmap-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c
index 78ceb848d5..afb7662638 100644
--- a/firmware/drivers/lcd-bitmap-common.c
+++ b/firmware/drivers/lcd-bitmap-common.c
@@ -186,7 +186,7 @@ static void LCDFN(putsxyofs)(int x, int y, int ofs, const unsigned char *str)
186 } 186 }
187 187
188 bits = font_get_bits(pf, *ucs); 188 bits = font_get_bits(pf, *ucs);
189 LCDFN(mono_bitmap_part)(bits, ofs, 0, width, MAX(x + base_ofs, 0), y, 189 LCDFN(mono_bitmap_part)(bits, ofs, 0, width, x + base_ofs, y,
190 width - ofs, pf->height); 190 width - ofs, pf->height);
191 191
192 if (is_diac) 192 if (is_diac)