From 0759153330ae82ce02454740abaf8e0372aafee3 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 22 Oct 2011 11:15:17 +0000 Subject: [PATCH 1/1] Do not attempt to support @1x themes. --- Library.mm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Library.mm b/Library.mm index e4a9df1..91bda3d 100644 --- a/Library.mm +++ b/Library.mm @@ -276,9 +276,10 @@ static NSArray *$useScale$(NSArray *files, bool use = true) { [scaled addObject:[NSString stringWithFormat:@"%@~iphone.%@", base, extension]]; [scaled addObject:file]; - NSString *rest([base substringWithRange:NSMakeRange(0, [base length] - 3)]); + // XXX: this actually can't be used, as the person loading the file doesn't realize that the @2x changed + /*NSString *rest([base substringWithRange:NSMakeRange(0, [base length] - 3)]); [scaled addObject:[NSString stringWithFormat:@"%@~iphone.%@", rest, extension]]; - [scaled addObject:[rest stringByAppendingPathExtension:extension]]; + [scaled addObject:[rest stringByAppendingPathExtension:extension]];*/ } else { // XXX: this code isn't really complete -- 2.47.2