Skip to content

Commit

Permalink
[BUG FIX] Some false impossibles in atomic moves.
Browse files Browse the repository at this point in the history
With FCS_BREAK_BACKWARD_COMPAT_2 .

Reported by https://github.com/theodorepringle/ - thanks.
  • Loading branch information
shlomif committed Feb 7, 2019
1 parent d2fa58d commit cc19788
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions fc-solve/source/freecell.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ DECLARE_MOVE_FUNCTION(fc_solve_sfs_move_top_stack_cards_to_founds)
deck * 4 + fcs_card_suit(card));

sfs_check_state_end();
#ifdef FCS_BREAK_BACKWARD_COMPAT_2
// #ifdef FCS_BREAK_BACKWARD_COMPAT_2
#if 0
return;
#else
break;
Expand All @@ -167,10 +168,8 @@ DECLARE_MOVE_FUNCTION(fc_solve_sfs_move_top_stack_cards_to_founds)
#ifdef FCS_BREAK_BACKWARD_COMPAT_2
#define RAR2
#endif
/*
* This test moves single cards that are present in the freecells to
* the foundations.
* */
// This test moves single cards that are present in the freecells to
// the foundations.
DECLARE_MOVE_FUNCTION(fc_solve_sfs_move_freecell_cards_to_founds)
{
tests_define_accessors_no_stacks(tests_state_context_val);
Expand Down Expand Up @@ -209,7 +208,8 @@ DECLARE_MOVE_FUNCTION(fc_solve_sfs_move_freecell_cards_to_founds)
deck * 4 + fcs_card_suit(card));

sfs_check_state_end();
#ifdef FCS_BREAK_BACKWARD_COMPAT_2
// #ifdef FCS_BREAK_BACKWARD_COMPAT_2
#if 0
return;
#else
break;
Expand Down

0 comments on commit cc19788

Please sign in to comment.