From: Jay Freeman (saurik) Date: Mon, 26 Dec 2016 21:18:25 +0000 (-0800) Subject: longSection shouldn't try localizing NULL section. X-Git-Tag: v1.1.28%b1~3 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/b23b24db6ecef37ed83ad7167a30a0534cd3fbbf longSection shouldn't try localizing NULL section. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index eacb25d9..53df43e9 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -2769,7 +2769,10 @@ struct PackageNameOrdering : } - (NSString *) longSection { - return LocalizeSection([self section]); + if (NSString *section = [self section]) + return LocalizeSection(section); + else + return nil; } - (NSString *) shortSection {