]> git.saurik.com Git - winterboard.git/blobdiff - UIImages.mm
Fixed 2.1 icon clipping bug.
[winterboard.git] / UIImages.mm
index 85ded744d057c1934a2df085fecf76041d67b0d8..461e937183a76c8f12331d0d418edf26553560ab 100644 (file)
@@ -22,13 +22,13 @@ int main(int argc, char *argv[]) {
     void (*__UISharedImageInitialize)(bool) = (void (*)(bool)) nl[1].n_value;
 
     __UISharedImageInitialize(false);
-    [UIKeyboard preheatArtwork];
 
     NSArray *keys = [*images allKeys];
     for (int i(0), e([keys count]); i != e; ++i) {
         NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
         NSString *key = [keys objectAtIndex:i];
         CGImageRef ref = (CGImageRef) [*images objectForKey:key];
+        CFShow(ref);
         UIImage *image = [UIImage imageWithCGImage:ref];
         NSData *data = UIImagePNGRepresentation(image);
         [data writeToFile:[NSString stringWithFormat:@"%@", key] atomically:YES];