summaryrefslogtreecommitdiffstats
path: root/kpat/freecell-solver/simpsim.c
diff options
context:
space:
mode:
Diffstat (limited to 'kpat/freecell-solver/simpsim.c')
-rw-r--r--kpat/freecell-solver/simpsim.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpat/freecell-solver/simpsim.c b/kpat/freecell-solver/simpsim.c
index a51b0c50..5ef8a411 100644
--- a/kpat/freecell-solver/simpsim.c
+++ b/kpat/freecell-solver/simpsim.c
@@ -22,8 +22,8 @@
#define fcs_is_ss_false_parent(tqparent, child) \
(fcs_card_card_num(tqparent) == fcs_card_card_num(child)+1)
-#define fcs_suit_is_ss_true_parent(tqparent_suit, child_suit) \
- ((tqparent_suit) == (child_suit))
+#define fcs_suit_is_ss_true_parent(parent_suit, child_suit) \
+ ((parent_suit) == (child_suit))
#define fcs_is_ss_true_parent(tqparent, child) \
( \
@@ -1450,7 +1450,7 @@ int freecell_solver_sfs_simple_simon_move_sequence_to_parent_on_the_same_stack(
int check;
int stack, cards_num, pc, cc;
- fcs_card_t tqparent_card, child_card;
+ fcs_card_t parent_card, child_card;
int a;
int after_junk_num_freestacks;
int false_seq_index;
@@ -1471,10 +1471,10 @@ int freecell_solver_sfs_simple_simon_move_sequence_to_parent_on_the_same_stack(
/* Search for a tqparent card */
for(pc=0; pc < cards_num-1 ; pc++)
{
- tqparent_card = fcs_stack_card(state, stack, pc);
+ parent_card = fcs_stack_card(state, stack, pc);
if (
fcs_is_ss_true_parent(
- tqparent_card,
+ parent_card,
fcs_stack_card(state, stack, pc+1)
)
)
@@ -1487,7 +1487,7 @@ int freecell_solver_sfs_simple_simon_move_sequence_to_parent_on_the_same_stack(
{
child_card = fcs_stack_card(state, stack, cc);
if (fcs_is_ss_true_parent(
- tqparent_card,
+ parent_card,
child_card
)
)