summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-10 16:35:33 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-10 16:56:49 -0800
commit8861e9534a4b49b891379f61274249da317ac83d (patch)
treeb13097990c4b593f44d173e8d818e8738fa488a6
parent968afbcd896f7ef91177add5e15acfc9d711f0e0 (diff)
Do not use [package_ id] to save state as that could be nil.
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index b6f1d68..5555328 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -7717,7 +7717,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
@implementation PackageSettingsController
- (NSURL *) navigationURL {
- return [NSURL URLWithString:[NSString stringWithFormat:@"cydia://package/%@/settings", [package_ id]]];
+ return [NSURL URLWithString:[NSString stringWithFormat:@"cydia://package/%@/settings", (id) name_]];
}
- (NSInteger) numberOfSectionsInTableView:(UITableView *)tableView {