From 92d4a16a35b9963afc5b644b168df1488fc72af0 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 15 Apr 2009 21:42:01 +0000 Subject: [PATCH] Fixed some stupid bugs added when I was too tired. --- Cydia.mm | 7 +++---- control | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Cydia.mm b/Cydia.mm index 827b0204..57b24dfc 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -2567,7 +2567,7 @@ uint32_t PackageChangesRadix(Package *self, void *) { name_ = [name retain]; index_ = '\0'; row_ = row; - localized_ = LocalizeSection(name_); + localized_ = [LocalizeSection(name_) retain]; } return self; } @@ -4494,11 +4494,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [super dealloc]; } -/*- (void) release { +- (void) release { if ([self retainCount] == 1) [delegate_ setPackageView:self]; [super release]; -}*/ +} /* XXX: this is not safe at all... localization of /fail/ */ - (void) _clickButtonWithName:(NSString *)name { @@ -7320,7 +7320,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { - (void) setPackageView:(PackageView *)view { if (package_ == nil) package_ = [view retain]; - NSLog(@"packageView: %@", package_); } - (PackageView *) packageView { diff --git a/control b/control index 78b946b4..a421e784 100644 --- a/control +++ b/control @@ -5,7 +5,7 @@ Maintainer: Jay Freeman (saurik) Architecture: iphoneos-arm Version: 1.0.2821-1 Replaces: com.sosiphone.addcydia -Depends: apr, darwintools, pcre, shell-cmds, system-cmds +Depends: apr, apt (>= 0.7.20.2-15), darwintools, pcre, shell-cmds, system-cmds Pre-Depends: dpkg (>= 1.14.25-8) Conflicts: com.sosiphone.addcydia Description: graphical iPhone front-end for APT -- 2.45.2