瀏覽代碼

fixed typo

Tibor Tálosi 2 年之前
父節點
當前提交
b75f0d70a4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      solitaire.c

+ 1 - 1
solitaire.c

@@ -256,7 +256,7 @@ void tick(GameState *game_state, NotificationApp *notification) {
         if (game_state->state == GameStatePlay) {
             if (game_state->longPress && game_state->dragging_hand.index == 1) {
                 for (uint8_t i = 0; i < 4; i++) {
-                    if (place_on_top(&(game_state->top_car0ds[i]), game_state->dragging_hand.cards[0])) {
+                    if (place_on_top(&(game_state->top_cards[i]), game_state->dragging_hand.cards[0])) {
                         remove_drag(game_state);
                         wasAction = true;
                         break;