diff options
Diffstat (limited to 'apps/plugins/flipit.c')
-rw-r--r-- | apps/plugins/flipit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/flipit.c b/apps/plugins/flipit.c index 1023d3ac54..9a79be6acb 100644 --- a/apps/plugins/flipit.c +++ b/apps/plugins/flipit.c | |||
@@ -349,7 +349,8 @@ static int cursor_pos, moves; | |||
349 | /* draw a spot at the coordinates (x,y), range of p is 0-19 */ | 349 | /* draw a spot at the coordinates (x,y), range of p is 0-19 */ |
350 | static void draw_spot(int p) | 350 | static void draw_spot(int p) |
351 | { | 351 | { |
352 | rb->lcd_bitmap_part( flipit_tokens, 0, spots[p] * TK_HEIGHT, TK_WIDTH, | 352 | rb->lcd_bitmap_part( flipit_tokens, 0, spots[p] * TK_HEIGHT, |
353 | STRIDE(BMPWIDTH_flipit_tokens, BMPHEIGHT_flipit_tokens), | ||
353 | GRID_LEFT + (p%5) * (TK_WIDTH+TK_SPACE), | 354 | GRID_LEFT + (p%5) * (TK_WIDTH+TK_SPACE), |
354 | GRID_TOP + (p/5) * (TK_HEIGHT+TK_SPACE), | 355 | GRID_TOP + (p/5) * (TK_HEIGHT+TK_SPACE), |
355 | TK_WIDTH, TK_HEIGHT ); | 356 | TK_WIDTH, TK_HEIGHT ); |