diff options
Diffstat (limited to 'firmware/drivers/lcd-recorder.c')
-rw-r--r-- | firmware/drivers/lcd-recorder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c index 8c3f573039..cf3c7615e1 100644 --- a/firmware/drivers/lcd-recorder.c +++ b/firmware/drivers/lcd-recorder.c | |||
@@ -415,7 +415,7 @@ static void lcd_putsxyofs(int x, int y, int ofs, unsigned char *str) | |||
415 | { | 415 | { |
416 | lcd_bitmap (((unsigned char*) bits) + ofs, x, y + i, width, | 416 | lcd_bitmap (((unsigned char*) bits) + ofs, x, y + i, width, |
417 | MIN(8, pf->height - i), true); | 417 | MIN(8, pf->height - i), true); |
418 | ((unsigned char *)bits) += gwidth; | 418 | bits = (bitmap_t *)((int)bits + gwidth); |
419 | } | 419 | } |
420 | } | 420 | } |
421 | else | 421 | else |