diff options
-rw-r--r-- | firmware/drivers/lcd-recorder.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c index 67ea343218..d0b974f77f 100644 --- a/firmware/drivers/lcd-recorder.c +++ b/firmware/drivers/lcd-recorder.c | |||
@@ -418,18 +418,18 @@ static void lcd_putsxyofs(int x, int y, int ofs, unsigned char *str) | |||
418 | 418 | ||
419 | if (width > 0) | 419 | if (width > 0) |
420 | { | 420 | { |
421 | int i; | 421 | int i; |
422 | bitmap_t* bits = pf->bits + | 422 | bitmap_t* bits = pf->bits + |
423 | (pf->offset ? pf->offset[ch] : (pf->height * ch)); | 423 | (pf->offset ? pf->offset[ch] : (pf->height * ch)); |
424 | 424 | ||
425 | if (ofs != 0) | 425 | if (ofs != 0) |
426 | { | 426 | { |
427 | for (i = 0; i < pf->height; i += 8) | 427 | for (i = 0; i < pf->height; i += 8) |
428 | { | 428 | { |
429 | lcd_bitmap (((unsigned char*) bits) + ofs, x, y + i, width, | 429 | lcd_bitmap (((unsigned char*) bits) + ofs, x, y + i, width, |
430 | MIN(8, pf->height - i), true); | 430 | MIN(8, pf->height - i), true); |
431 | ((unsigned char *)bits) += gwidth; | 431 | ((unsigned char *)bits) += gwidth; |
432 | } | 432 | } |
433 | } | 433 | } |
434 | else | 434 | else |
435 | lcd_bitmap ((unsigned char*) bits, x, y, gwidth, | 435 | lcd_bitmap ((unsigned char*) bits, x, y, gwidth, |