]> Dogcows Code - chaz/thecheat/blobdiff - LocalCheater.m
Remove support of Mac OS X 10.3 and earlier system, change codes for Mac OS X 10.7.
[chaz/thecheat] / LocalCheater.m
index 2ab5bcf01e928db1d13993f729153317d3300bd5..157b43a7d48d87606de2ef6f4190cd2d0b6da083 100644 (file)
@@ -1,9 +1,9 @@
 
 /*
  * The Cheat - The legendary universal game trainer for Mac OS X.
- * http://www.dogcows.com/chaz/wiki/TheCheat
+ * http://www.brokenzipper.com/trac/wiki/TheCheat
  *
- * Copyright (c) 2003-2010, Charles McGarvey et al.
+ * Copyright (c) 2003-2011, Charles McGarvey et al.
  *
  * Distributable under the terms and conditions of the 2-clause BSD
  * license; see the file COPYING for the legal text of the license.
@@ -420,13 +420,13 @@ int _MemoryDumpTask( ThreadedTask *task, unsigned iteration )
        TCArray variables;
        TCArray values;
        
-       if ( searchContext = [_searchResults lastObject] ) {
+       if ( (searchContext = [_searchResults lastObject]) ) {
                [_savedResults addObject:searchContext];
                [_searchResults removeLastObject];
                
                [self stopWatchingVariables];
 
-               if ( searchContext = [_searchResults lastObject] ) {
+               if ( (searchContext = [_searchResults lastObject]) ) {
                        if ( _shouldCopy ) {
                                variables = TCArrayCopyElements( searchContext->addresses, _returnLimit );
                                values = TCArrayCopyElements( searchContext->values, _returnLimit );
@@ -452,7 +452,7 @@ int _MemoryDumpTask( ThreadedTask *task, unsigned iteration )
        
        [self stopWatchingVariables];
        
-       if ( searchContext = [_savedResults lastObject] ) {
+       if ( (searchContext = [_savedResults lastObject]) ) {
                [_searchResults addObject:searchContext];
                [_savedResults removeLastObject];
                
@@ -486,7 +486,7 @@ int _MemoryDumpTask( ThreadedTask *task, unsigned iteration )
                return;
        }
        
-       if ( context = [_searchResults lastObject] ) {
+       if ( (context = [_searchResults lastObject]) ) {
                TCArray addresses = context->addresses;
                TCArray values = context->values;
                // check the index & count
This page took 0.025731 seconds and 4 git commands to generate.