]> Dogcows Code - chaz/thecheat/blobdiff - ServerPrefs.m
Remove support of Mac OS X 10.3 and earlier system, change codes for Mac OS X 10.7.
[chaz/thecheat] / ServerPrefs.m
index 9cee2fa7d7c9d8ec88fd3c68e612b16453e6dda1..3d2637f7158ef2acbe04d945ae7552eca93d286f 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.
        // reselect the last item if the selection is now invalid
        len = [[NSApp cheatServer] childCount] - 1;
        if ( [aTableView selectedRow] > len ) {
-               [aTableView selectRow:len byExtendingSelection:NO];
+               [aTableView selectRowIndexes:[NSIndexSet indexSetWithIndex:len] byExtendingSelection:NO];
        }
        [aTableView reloadData];
 }
This page took 0.020517 seconds and 4 git commands to generate.