diff options
Diffstat (limited to 'AppKit')
-rw-r--r-- | AppKit/GTMUILocalizerAndLayoutTweaker.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AppKit/GTMUILocalizerAndLayoutTweaker.m b/AppKit/GTMUILocalizerAndLayoutTweaker.m index 6c1ae78..771df9d 100644 --- a/AppKit/GTMUILocalizerAndLayoutTweaker.m +++ b/AppKit/GTMUILocalizerAndLayoutTweaker.m @@ -337,7 +337,7 @@ static BOOL IsRightAnchored(NSView *view); } // Return how much things changed - return NSWidth(initialRect) - finalSize.width; + return finalSize.width - NSWidth(initialRect); } #endif // MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 |