X-Git-Url: https://git.saurik.com/winterboard.git/blobdiff_plain/9ed5113df4e1eb3884366d33fad152e6ba5d35bd..HEAD:/Library.mm 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]);