/*
* 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.
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 );
[self stopWatchingVariables];
- if ( searchContext = [_savedResults lastObject] ) {
+ if ( (searchContext = [_savedResults lastObject]) ) {
[_searchResults addObject:searchContext];
[_savedResults removeLastObject];
return;
}
- if ( context = [_searchResults lastObject] ) {
+ if ( (context = [_searchResults lastObject]) ) {
TCArray addresses = context->addresses;
TCArray values = context->values;
// check the index & count