From 2ddb858647839e4da056decb19c47e719362eddd Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Wed, 13 Feb 2013 15:04:08 +0000 Subject: [PATCH] Refs #1678. Minor tweak. --- AppKit/CPView.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPView.j b/AppKit/CPView.j index cfed2e6be..125480ae9 100644 --- a/AppKit/CPView.j +++ b/AppKit/CPView.j @@ -2322,7 +2322,7 @@ setBoundsOrigin: aRect = CGRectIntersection(aRect, _bounds); // If aRect is empty no scrolling required. - if (CGRectIsEmpty(aRect)) + if (_CGRectIsEmpty(aRect)) return NO; var enclosingClipView = [self _enclosingClipView]; @@ -2345,7 +2345,7 @@ setBoundsOrigin: if (CGRectContainsRect(documentViewVisibleRect, rectInDocumentView)) return NO; - var scrollPoint = CGPointMakeCopy(documentViewVisibleRect.origin); + var scrollPoint = _CGPointMakeCopy(documentViewVisibleRect.origin); // One of the following has to be true since our current visible rect didn't contain aRect. if (_CGRectGetMinX(rectInDocumentView) < _CGRectGetMinX(documentViewVisibleRect))