From: Jay Freeman (saurik) Date: Sat, 31 Oct 2015 07:20:01 +0000 (-0700) Subject: On iOS 9 sometimes they do not bother using names. X-Git-Tag: v0.9.3919^0 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/refs/heads/master On iOS 9 sometimes they do not bother using names. --- diff --git a/Library.mm b/Library.mm index 4287c06..037c3e0 100644 --- a/Library.mm +++ b/Library.mm @@ -2304,7 +2304,7 @@ MSHook(NSArray *, CPBitmapCreateImagesFromPath, NSString *path, CFTypeRef *names NSArray *images(_CPBitmapCreateImagesFromPath(path, names, arg2, arg3)); if (images == nil) return nil; - if (*names == nil) + if (names == NULL || *names == nil) return images; NSBundle *bundle([NSBundle wb$bundleWithFile:path]);