summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDustin L. Howett <dustin@howett.net>2010-10-04 05:02:37 -0400
committerJay Freeman (saurik) <saurik@saurik.com>2010-10-04 09:45:29 +0000
commit6d16684908fdd65f8cc7e000f8c28624a4aa0516 (patch)
treeb9e7a968f399b9a168b11bdf0a0407c8e9ee2d91
parent79ed082adfc40831a1ae716fbec776a66eba9aa8 (diff)
self isn't even initialized, why are we trying to get our own view?
-rw-r--r--Cydia.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cydia.mm b/Cydia.mm
index aa0e842..005dc2e 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
+}