diff options
-rw-r--r-- | MobileCydia.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 90adca5..25b55d7 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -1489,7 +1489,7 @@ static void PackageImport(const void *key, const void *value, void *context) { NSDictionary *lhr = [self record]; NSDictionary *rhr = [source record]; - if (lhr != rhr) + if ((lhr == nil) != (rhr == nil)) return lhr == nil ? NSOrderedDescending : NSOrderedAscending; NSString *lhs = [self name]; |