summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-23 18:43:57 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:13 -0800
commit5bd9467c2b5d1b32ce0f7527127cee9c280ad5df (patch)
tree40ea5e51a219b4ebc82cf29d029791f5b0cdf147
parentbcbac8f75c0b4943a7d732192920abede6ac8cee (diff)
Remove @2x from /ui/ URL.
-rw-r--r--MobileCydia.mm6
1 files changed, 1 insertions, 5 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 9ee0bd0..233d2ef 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9870,11 +9870,7 @@ int main(int argc, char *argv[]) { _pooled
else
ScreenScale_ = 1;
- NSMutableArray *parts([NSMutableArray arrayWithCapacity:2]);
- if (ScreenScale_ > 1)
- [parts addObject:@"@2x"];
- [parts addObject:(IsWildcat_ ? @"~ipad" : @"~iphone")];
- UI_ = CydiaURL([NSString stringWithFormat:@"ui/ios%@", [parts componentsJoinedByString:@""]]);
+ UI_ = CydiaURL([NSString stringWithFormat:@"ui/ios%@", (IsWildcat_ ? @"~ipad" : @"~iphone")]);
PackageName = reinterpret_cast<CYString &(*)(Package *, SEL)>(method_getImplementation(class_getInstanceMethod([Package class], @selector(cyname))));