]> git.saurik.com Git - cydia.git/commitdiff
Use NSMakeSize rather than CGSizeMake for creating a NSSize -- if it's stored in...
authorGrant Paul <chpwn@chpwn.com>
Sat, 16 Oct 2010 07:54:01 +0000 (00:54 -0700)
committerGrant Paul <chpwn@chpwn.com>
Sat, 16 Oct 2010 07:55:04 +0000 (00:55 -0700)
UICaboodle/BrowserView.mm [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index ff39763..9703227
@@ -383,7 +383,7 @@ static Class $UIWebBrowserView;
     if ([scroller_ respondsToSelector:@selector(setScrollerIndicatorSubrect:)])
         [scroller_ setScrollerIndicatorSubrect:subrect];
 
-    [document_ setValue:[NSValue valueWithSize:CGSizeMake(subrect.size.width, subrect.size.height)] forGestureAttribute:UIGestureAttributeVisibleSize];
+    [document_ setValue:[NSValue valueWithSize:NSMakeSize(subrect.size.width, subrect.size.height)] forGestureAttribute:UIGestureAttributeVisibleSize];
 
     CGSize size(size_);
     size.height += extra;