diff options
Diffstat (limited to 'apps/plugins/matrix.c')
-rw-r--r-- | apps/plugins/matrix.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/matrix.c b/apps/plugins/matrix.c index 0d75986bb6..e6e0fa1175 100644 --- a/apps/plugins/matrix.c +++ b/apps/plugins/matrix.c | |||
@@ -213,12 +213,14 @@ static void matrix_blit_char(const int row, const int col, int cha) | |||
213 | 213 | ||
214 | if (matrix[row][col].bold == 1) { | 214 | if (matrix[row][col].bold == 1) { |
215 | rb->lcd_bitmap_part(matrix_bold, cha*COL_W, 0, | 215 | rb->lcd_bitmap_part(matrix_bold, cha*COL_W, 0, |
216 | STRIDE(BMPWIDTH_matrix_bold, BMPHEIGHT_matrix_bold), | 216 | STRIDE( SCREEN_MAIN, |
217 | BMPWIDTH_matrix_bold, BMPHEIGHT_matrix_bold), | ||
217 | col*COL_W + LEFTMARGIN, row*COL_H + TOPMARGIN, COL_W, COL_H); | 218 | col*COL_W + LEFTMARGIN, row*COL_H + TOPMARGIN, COL_W, COL_H); |
218 | } | 219 | } |
219 | else { | 220 | else { |
220 | rb->lcd_bitmap_part(matrix_normal, cha*COL_W, 0, | 221 | rb->lcd_bitmap_part(matrix_normal, cha*COL_W, 0, |
221 | STRIDE(BMPWIDTH_matrix_normal, BMPHEIGHT_matrix_normal), | 222 | STRIDE( SCREEN_MAIN, |
223 | BMPWIDTH_matrix_normal, BMPHEIGHT_matrix_normal), | ||
222 | col*COL_W + LEFTMARGIN, row*COL_H + TOPMARGIN, COL_W, COL_H); | 224 | col*COL_W + LEFTMARGIN, row*COL_H + TOPMARGIN, COL_W, COL_H); |
223 | } | 225 | } |
224 | } | 226 | } |