summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm9
1 files changed, 1 insertions, 8 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 8298c37..2ac24f5 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -5566,14 +5566,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
if (NSString *name = [package name])
name_ = [NSString stringWithString:name];
- NSString *description(nil);
-
- if (description == nil && IsWildcat_)
- description = [package longDescription];
- if (description == nil)
- description = [package shortDescription];
-
- if (description != nil)
+ if (NSString *description = [package shortDescription])
description_ = [NSString stringWithString:description];
commercial_ = [package isCommercial];