From: Dustin L. Howett Date: Mon, 4 Oct 2010 09:02:37 +0000 (-0400) Subject: self isn't even initialized, why are we trying to get our own view? X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/2938b9304c8e70d59d1308e8fe5c78ec2d2d3134 self isn't even initialized, why are we trying to get our own view? --- 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 +}