소스 검색

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;