]> git.saurik.com Git - winterboard.git/commitdiff
Avoid unnecessary SummerBoard stringWithFormat:s.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 28 Nov 2014 13:19:29 +0000 (05:19 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 28 Nov 2014 13:19:29 +0000 (05:19 -0800)
Library.mm

index 43545600a4d05b2246629223780343faf04fd6a4..ed7d3fceed093ea71c9cb46659acd4239160a7c5 100644 (file)
@@ -384,7 +384,7 @@ static void $pathForFile$inBundle$(NSMutableArray *names, NSString *file, NSStri
 
     #define remapResourceName(oldname, newname) \
         else if ([file isEqualToString:(oldname)]) \
-            [names addObject:[NSString stringWithFormat:@"%@.png", newname]]; \
+            [names addObject:oldname ".png"];
 
     bool summer(SpringBoard_ && SummerBoard_);