From: Jay Freeman (saurik) Date: Fri, 28 Nov 2014 13:19:29 +0000 (-0800) Subject: Avoid unnecessary SummerBoard stringWithFormat:s. X-Git-Tag: v0.9.3918~7 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/1d3537b47621e14eb32c50caf8ca4f751e3bdc13 Avoid unnecessary SummerBoard stringWithFormat:s. --- diff --git a/Library.mm b/Library.mm index 4354560..ed7d3fc 100644 --- a/Library.mm +++ b/Library.mm @@ -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_);