]> git.saurik.com Git - cydia.git/commitdiff
Formatting changes.
authorGrant Paul <chpwn@chpwn.com>
Tue, 1 Feb 2011 22:49:39 +0000 (14:49 -0800)
committerGrant Paul <chpwn@chpwn.com>
Tue, 1 Feb 2011 22:49:39 +0000 (14:49 -0800)
MobileCydia.mm

index 392c173ac9404bb04ec3cf763a1260ae6b719339..42d9dc3feafd02a12d51632df7dc0a9041dc8a18 100644 (file)
@@ -6223,7 +6223,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
         [page reloadData];
     }
 
-    [(CYNavigationController *) [self transientViewController] reloadData];
+    [(CYNavigationController *)[self transientViewController] reloadData];
 }
 
 - (id) initWithDatabase:(Database *)database {
@@ -8538,7 +8538,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
     CYNavigationController *controller = (CYNavigationController *) viewController;
 
     if ([[controller viewControllers] count] == 0) {
-        int index = [tabbar_ selectedIndex];
+        int index = [[tabbar_ viewControllers] indexOfObjectIdenticalTo:controller];
         CYViewController *root = nil;
 
         if (index == 0)