diff options
author | Dustin L. Howett <dustin@howett.net> | 2010-10-04 10:16:27 -0400 |
---|---|---|
committer | Dustin L. Howett <dustin@howett.net> | 2010-10-04 10:16:27 -0400 |
commit | 1a418de6979779de9e3765818114b34c0c1455ab (patch) | |
tree | 9aeaa0c5af5a552d9edda5ba98c91233da770c08 | |
parent | a5938ea5e2ca223b9e969fe0424f63d7a4b31a4c (diff) | |
parent | ac308d3ed944c63cb8c1423ee4d8783d80c9b2d7 (diff) |
Merge branch 'master' of git.saurik.com:cydia
-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"]; |