summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-14 01:35:19 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-14 01:35:19 -0800
commit1ee64f0d50f7c39519716aa763745c144327d5b2 (patch)
treefca22b7f52c095252743b3d9011f0fc2d1ca2763
parenteb09425a76cb1fdd9f09a00e43e760f952800cc6 (diff)
Use name_, not [package_ id], for -[CYPackageController navigationURL].
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 5f6fb36..da4f6da 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -5471,7 +5471,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
}
- (NSURL *) navigationURL {
- return [NSURL URLWithString:[NSString stringWithFormat:@"cydia://package/%@", [package_ id]]];
+ return [NSURL URLWithString:[NSString stringWithFormat:@"cydia://package/%@", name_]];
}
/* XXX: this is not safe at all... localization of /fail/ */