From 2938b9304c8e70d59d1308e8fe5c78ec2d2d3134 Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Mon, 4 Oct 2010 05:02:37 -0400 Subject: [PATCH] self isn't even initialized, why are we trying to get our own view? --- Cydia.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cydia.mm b/Cydia.mm index aa0e842d..005dc2ee 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -3975,7 +3975,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } - (id) init { - if ((self = [super initWithWidth:[[self view] bounds].size.width ofClass:[CYBrowserController class]]) != nil) { + if ((self = [super initWithWidth:0 ofClass:[CYBrowserController class]]) != nil) { cydia_ = [[CydiaObject alloc] initWithDelegate:indirect_]; WebView *webview([document_ webView]); @@ -8942,4 +8942,4 @@ int main(int argc, char *argv[]) { _pooled CFRelease(Locale_); return value; -} \ No newline at end of file +} -- 2.45.2