diff options
author | Grant Paul <chpwn@chpwn.com> | 2011-02-01 14:49:39 -0800 |
---|---|---|
committer | Grant Paul <chpwn@chpwn.com> | 2011-02-01 14:49:39 -0800 |
commit | dbf1327cec2722cfbc5895f3092c92fc933b29c0 (patch) | |
tree | 00a943056425c74f2d7a44feb91211be39a697b3 /MobileCydia.mm | |
parent | a784d0a4a6a8457296ba2c6128e9da29cdd1fcfd (diff) |
Formatting changes.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 392c173..42d9dc3 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -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) |