X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/a2ae332e5418cf18d5321883e74a6fb710ef6ec1..aaa0be197591295ad82970b51ceb24cb4dbeee10:/UICaboodle/BrowserView.mm?ds=sidebyside diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm index 9b0c93d6..e2dee3b5 100644 --- a/UICaboodle/BrowserView.mm +++ b/UICaboodle/BrowserView.mm @@ -161,7 +161,7 @@ static Class $UIWebBrowserView; @implementation WebScriptObject (UICaboodle) -- (unsigned) count { +- (NSUInteger) count { id length([self valueForKey:@"length"]); if ([length respondsToSelector:@selector(intValue)]) return [length intValue]; @@ -759,10 +759,10 @@ static Class $UIWebBrowserView; goto ignore; } - int store(_not(int)); + NSInteger store(_not(NSInteger)); if (NSURL *itms = [url itmsURL:&store]) { #if LogBrowser - NSLog(@"itms#%@#%u#%@", url, store, itms); + NSLog(@"itms#%@#%d#%@", url, (int) store, itms); #endif if (capability != nil && ( @@ -1144,7 +1144,7 @@ static Class $UIWebBrowserView; if ([frame parentFrame] == nil) { if (DOMDocument *document = [frame DOMDocument]) if (DOMNodeList *bodies = [document getElementsByTagName:@"body"]) - for (DOMHTMLBodyElement *body in bodies) { + for (DOMHTMLBodyElement *body in (id) bodies) { DOMCSSStyleDeclaration *style([document getComputedStyle:body pseudoElement:nil]); bool colored(false); @@ -1161,7 +1161,7 @@ static Class $UIWebBrowserView; UIColor *uic(nil); if (red == 0xc7 && green == 0xce && blue == 0xd5) - uic = [UIColor pinStripeColor]; + uic = [UIColor groupTableViewBackgroundColor]; else if (alpha != 0) uic = [UIColor colorWithRed:(red / 255) @@ -1178,7 +1178,7 @@ static Class $UIWebBrowserView; } if (!colored) - [scroller_ setBackgroundColor:[UIColor pinStripeColor]]; + [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]]; break; } } @@ -1355,7 +1355,7 @@ static Class $UIWebBrowserView; [[self view] addSubview:scroller_]; [scroller_ setFixedBackgroundPattern:YES]; - [scroller_ setBackgroundColor:[UIColor pinStripeColor]]; + [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]]; [scroller_ setScrollingEnabled:YES]; [scroller_ setClipsSubviews:YES];