From b23b24db6ecef37ed83ad7167a30a0534cd3fbbf Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 26 Dec 2016 13:18:25 -0800 Subject: [PATCH] longSection shouldn't try localizing NULL section. --- MobileCydia.mm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 { -- 2.45.2