diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-10-04 04:55:37 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-10-04 04:55:37 -0700 |
commit | ac308d3ed944c63cb8c1423ee4d8783d80c9b2d7 (patch) | |
tree | c40e8cf42c1cfca0d2b16bc9180cc78241d1ff19 /Cydia.mm | |
parent | fed0d010a6c7632fb69cbfa3c25303f3cd103c72 (diff) |
Add todo XXX from Optimo for icon escape.
Diffstat (limited to 'Cydia.mm')
-rw-r--r-- | Cydia.mm | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2482,11 +2482,13 @@ struct PackageNameOrdering : UIImage *icon(nil); if (!icon_.empty()) if ([icon_ hasPrefix:@"file:///"]) + // XXX: correct escaping icon = [UIImage imageAtPath:[icon_ substringFromIndex:7]]; if (icon == nil) if (section != nil) icon = [UIImage imageAtPath:[NSString stringWithFormat:@"%@/Sections/%@.png", App_, section]]; if (icon == nil) if (source_ != nil) if (NSString *dicon = [source_ defaultIcon]) if ([dicon hasPrefix:@"file:///"]) + // XXX: correct escaping icon = [UIImage imageAtPath:[dicon substringFromIndex:7]]; if (icon == nil) icon = [UIImage applicationImageNamed:@"unknown.png"]; |