summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/lcd-recorder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c
index 584ead91dc..d2b0c4e6b1 100644
--- a/firmware/drivers/lcd-recorder.c
+++ b/firmware/drivers/lcd-recorder.c
@@ -408,7 +408,8 @@ static void lcd_putsxyofs(int x, int y, int ofs, const unsigned char *str)
408 { 408 {
409 unsigned int i; 409 unsigned int i;
410 const unsigned char* bits = pf->bits + 410 const unsigned char* bits = pf->bits +
411 (pf->offset ? pf->offset[ch] : (pf->height * ch)); 411 (pf->offset ? pf->offset[ch]
412 : ((pf->height + 7) / 8 * pf->maxwidth * ch));
412 413
413 if (ofs != 0) 414 if (ofs != 0)
414 { 415 {