summaryrefslogtreecommitdiff
path: root/uicache.mm
diff options
context:
space:
mode:
Diffstat (limited to 'uicache.mm')
-rw-r--r--uicache.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/uicache.mm b/uicache.mm
index 8397703..41a8839 100644
--- a/uicache.mm
+++ b/uicache.mm
@@ -64,7 +64,7 @@ int main(int argc, const char *argv[]) {
NSString *plist = [path stringByAppendingPathComponent:@"Info.plist"];
if (NSMutableDictionary *info = [NSMutableDictionary dictionaryWithContentsOfFile:plist]) {
- if (NSString *bundle = [info objectForKey:@"CFBundleIdentifier"]) {
+ if ([info objectForKey:@"CFBundleIdentifier"] != nil) {
[bundles addObject:path];
[info setObject:path forKey:@"Path"];
[info setObject:@"System" forKey:@"ApplicationType"];