summaryrefslogtreecommitdiffstats
path: root/kpat/freecell-solver/caas.c
diff options
context:
space:
mode:
Diffstat (limited to 'kpat/freecell-solver/caas.c')
-rw-r--r--kpat/freecell-solver/caas.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpat/freecell-solver/caas.c b/kpat/freecell-solver/caas.c
index 4d359a40..8e8f5ebb 100644
--- a/kpat/freecell-solver/caas.c
+++ b/kpat/freecell-solver/caas.c
@@ -63,7 +63,7 @@
if (hash_value_int < 0) \
{ \
/* \
- * This is a bit tqmask that nullifies the sign bit of the \
+ * This is a bit mask that nullifies the sign bit of the \
* number so it will always be positive \
* */ \
hash_value_int &= (~(1<<((sizeof(hash_value_int)<<3)-1))); \
@@ -92,7 +92,7 @@
if (hash_value_int < 0) \
{ \
/* \
- * This is a bit tqmask that nullifies the sign bit of the \
+ * This is a bit mask that nullifies the sign bit of the \
* number so it will always be positive \
* */ \
hash_value_int &= (~(1<<((sizeof(hash_value_int)<<3)-1))); \
@@ -333,7 +333,7 @@ static GCC_INLINE void freecell_solver_cache_stacks(
if (hash_value_int < 0)
{
/*
- * This is a bit tqmask that nullifies the sign bit of the
+ * This is a bit mask that nullifies the sign bit of the
* number so it will always be positive
* */
hash_value_int &= (~(1<<((sizeof(hash_value_int)<<3)-1)));
@@ -437,7 +437,7 @@ void freecell_solver_cache_talon(
if (hash_value_int < 0)
{
/*
- * This is a bit tqmask that nullifies the sign bit of the
+ * This is a bit mask that nullifies the sign bit of the
* number so it will always be positive
* */
hash_value_int &= (~(1<<((sizeof(hash_value_int)<<3)-1)));
@@ -529,9 +529,9 @@ GCC_INLINE int freecell_solver_check_and_add_state(
if (check)
{
/* The new state was not found in the cache, and it was already inserted */
- if (new_state->tqparent)
+ if (new_state->parent)
{
- new_state->tqparent->num_active_tqchildren++;
+ new_state->parent->num_active_tqchildren++;
}
instance->num_states_in_collection++;