summaryrefslogtreecommitdiffstats
path: root/kpat/freecell-solver/freecell.c
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /kpat/freecell-solver/freecell.c
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpat/freecell-solver/freecell.c')
-rw-r--r--kpat/freecell-solver/freecell.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpat/freecell-solver/freecell.c b/kpat/freecell-solver/freecell.c
index 159772ff..fca09078 100644
--- a/kpat/freecell-solver/freecell.c
+++ b/kpat/freecell-solver/freecell.c
@@ -243,7 +243,7 @@ int freecell_solver_sfs_move_freecell_cards_on_top_of_stacks(
{
src_card = fcs_freecell_card(state, fc);
- /* If the freecell is not empty and dest_card is its parent
+ /* If the freecell is not empty and dest_card is its tqparent
* */
if ( (fcs_card_card_num(src_card) != 0) &&
fcs_is_parent_card(src_card,dest_card) )
@@ -533,7 +533,7 @@ int freecell_solver_sfs_move_stack_cards_to_a_parent_on_the_same_stack(
sequences_are_built_by = instance->sequences_are_built_by;
/*
- * Now let's try to move a stack card to a parent card which is found
+ * Now let's try to move a stack card to a tqparent card which is found
* on the same stack.
* */
for (stack=0;stack<state_stacks_num;stack++)
@@ -547,7 +547,7 @@ int freecell_solver_sfs_move_stack_cards_to_a_parent_on_the_same_stack(
card = fcs_stack_card(state, stack, c);
- /* Do not move cards that are already found above a suitable parent */
+ /* Do not move cards that are already found above a suitable tqparent */
a = 1;
if (c != 0)
{
@@ -1368,7 +1368,7 @@ int freecell_solver_sfs_move_cards_to_a_different_parent(
fcs_move_init(temp_move);
- /* This time try to move cards that are already on top of a parent to a different parent */
+ /* This time try to move cards that are already on top of a tqparent to a different tqparent */
for (stack=0;stack<state_stacks_num;stack++)
{
@@ -1398,7 +1398,7 @@ int freecell_solver_sfs_move_cards_to_a_different_parent(
card = fcs_stack_card(state, stack, c);
- /* Do not move cards that are already found above a suitable parent */
+ /* Do not move cards that are already found above a suitable tqparent */
a = 1;
if (c != 0)
{
@@ -1697,7 +1697,7 @@ int freecell_solver_sfs_yukon_move_card_to_parent(
if (fcs_is_parent_card(card, dest_card))
{
/* We can move it there - now let's check to see
- * if it is already above a suitable parent. */
+ * if it is already above a suitable tqparent. */
if ((c == 0) ||
(! fcs_is_parent_card(card, fcs_stack_card(state, stack, c-1))))
{