diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-10 02:13:51 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-10 02:13:51 -0800 |
commit | 611efc17130d8f2456ad3f00b8b248b00107eea5 (patch) | |
tree | 731156dfeb77657ed14d737b8aa4b1de092982f1 | |
parent | abd93900dbbaaef2e43d2e2d44991b5a143393c1 (diff) |
Don't re-simplify the simplified section icon name.
-rw-r--r-- | MobileCydia.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 3e50dcc..e4e4992 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -7048,8 +7048,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { if (path == nil) goto fail; path = [path stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; - NSString *section(Simplify(path)); - UIImage *icon([UIImage imageAtPath:[NSString stringWithFormat:@"%@/Sections/%@.png", App_, [section stringByReplacingOccurrencesOfString:@" " withString:@"_"]]]); + UIImage *icon([UIImage imageAtPath:[NSString stringWithFormat:@"%@/Sections/%@.png", App_, [path stringByReplacingOccurrencesOfString:@" " withString:@"_"]]]); if (icon == nil) icon = [UIImage applicationImageNamed:@"unknown.png"]; [self _returnPNGWithImage:icon forRequest:request]; |