summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-10-17 12:14:06 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2010-10-17 12:14:06 -0700
commit48ef358a9f029c73cc6bf128c3ade035bb818f47 (patch)
tree9d844c7029a2cd2e2defe858e2de1d6d6d761852 /UICaboodle
parente454f9c3d97de1d5253378b7aa3b8a7a677af52a (diff)
NSSize does not exist on the iPhone: Cydia therefore uses a truncated Cocoa header designed to remap usages of NSSize; using NSMakeSize therefore breaks the SDK build.
This reverts commit 45b777c34a71958e5e83c23bfb3a7dd65961d943.
Diffstat (limited to 'UICaboodle')
-rw-r--r--UICaboodle/BrowserView.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm
index 86c7da6..e2dee3b 100644
--- a/UICaboodle/BrowserView.mm
+++ b/UICaboodle/BrowserView.mm
@@ -383,7 +383,7 @@ static Class $UIWebBrowserView;
if ([scroller_ respondsToSelector:@selector(setScrollerIndicatorSubrect:)])
[scroller_ setScrollerIndicatorSubrect:subrect];
- [document_ setValue:[NSValue valueWithSize:NSMakeSize(subrect.size.width, subrect.size.height)] forGestureAttribute:UIGestureAttributeVisibleSize];
+ [document_ setValue:[NSValue valueWithSize:CGSizeMake(subrect.size.width, subrect.size.height)] forGestureAttribute:UIGestureAttributeVisibleSize];
CGSize size(size_);
size.height += extra;