]> git.saurik.com Git - winterboard.git/blobdiff - Library.mm
Avoid unnecessary SummerBoard stringWithFormat:s.
[winterboard.git] / 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_);