summaryrefslogtreecommitdiffstats
path: root/kpat/freecell-solver/caas.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/caas.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/caas.c')
-rw-r--r--kpat/freecell-solver/caas.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpat/freecell-solver/caas.c b/kpat/freecell-solver/caas.c
index 82492f34..3654ab59 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 mask that nullifies the sign bit of the \
+ * This is a bit tqmask 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 mask that nullifies the sign bit of the \
+ * This is a bit tqmask 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 mask that nullifies the sign bit of the
+ * This is a bit tqmask that nullifies the sign bit of the
* number so it will always be positive
* */
hash_value_int &= (~(1<<((sizeof(hash_value_int)<<3)-1)));
@@ -372,7 +372,7 @@ static GCC_INLINE void freecell_solver_cache_stacks(
);
#if 0
) /* In order to settle gvim and other editors that
- are keen on parenthesis matching */
+ are keen on tqparenthesis matching */
#endif
replace_with_cached(cached_stack != NULL);
@@ -437,7 +437,7 @@ void freecell_solver_cache_talon(
if (hash_value_int < 0)
{
/*
- * This is a bit mask that nullifies the sign bit of the
+ * This is a bit tqmask 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->parent)
+ if (new_state->tqparent)
{
- new_state->parent->num_active_children++;
+ new_state->tqparent->num_active_tqchildren++;
}
instance->num_states_in_collection++;