summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-06 00:52:02 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:53 -0800
commiteff20a8d78a0d0fd1865ab8cb6eeba7ac03edd12 (patch)
treeeb41be7b8d2df033947d5829bfc9dc8d8f2b5fe2
parent59f3d290506877fdb683470bf90ea48186e77c31 (diff)
You can't use icon on an unparsed package.
-rw-r--r--MobileCydia.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index d253aa8..43fc9e3 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -6957,6 +6957,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
Package *package([database packageWithName:path]);
if (package == nil)
goto fail;
+ [package parse];
UIImage *icon([package icon]);
[self _returnPNGWithImage:icon forRequest:request];
} else if ([command isEqualToString:@"source-icon"]) {