summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/blackjack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/blackjack.c b/apps/plugins/blackjack.c
index f46d378f2b..a2acfeeccd 100644
--- a/apps/plugins/blackjack.c
+++ b/apps/plugins/blackjack.c
@@ -602,7 +602,8 @@ static void draw_card(struct card temp_card, bool shown,
602 unsigned int x, unsigned int y) { 602 unsigned int x, unsigned int y) {
603 if(shown) 603 if(shown)
604 rb->lcd_bitmap_part(card_deck, CARD_WIDTH*temp_card.num, 604 rb->lcd_bitmap_part(card_deck, CARD_WIDTH*temp_card.num,
605 CARD_HEIGHT*temp_card.suit, BMPWIDTH_card_deck, 605 CARD_HEIGHT*temp_card.suit,
606 STRIDE(BMPWIDTH_card_deck, BMPHEIGHT_card_deck),
606 x+1, y+1, CARD_WIDTH, CARD_HEIGHT); 607 x+1, y+1, CARD_WIDTH, CARD_HEIGHT);
607 else 608 else
608 rb->lcd_bitmap(card_back, x+1, y+1,CARD_WIDTH, CARD_HEIGHT); 609 rb->lcd_bitmap(card_back, x+1, y+1,CARD_WIDTH, CARD_HEIGHT);