]> git.saurik.com Git - cydia.git/commitdiff
Fix "(No Section)" section.
authorGrant Paul <chpwn@chpwn.com>
Sun, 13 Feb 2011 20:50:33 +0000 (12:50 -0800)
committerGrant Paul <chpwn@chpwn.com>
Sun, 13 Feb 2011 20:50:33 +0000 (12:50 -0800)
MobileCydia.mm

index 569bab1e47c74726ac8856e74e21e7a243d660b4..9b0a3f6c1e068519831f8746b3051dc91e7ef5c2 100644 (file)
@@ -6863,7 +6863,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
             section = [sections objectForKey:key];
             if (section == nil) {
                 _profile(SectionsView$reloadData$Section$Allocate)
-                    section = [[[Section alloc] initWithName:name localize:YES] autorelease];
+                    section = [[[Section alloc] initWithName:key localize:YES] autorelease];
                     [sections setObject:section forKey:key];
                 _end
             }