From 9004533ba1d84d670a77cbfc9eae401b66e9dd0e Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 9 Jan 2010 01:38:23 +0000 Subject: - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3 --- Source/SPWindowAdditions.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/SPWindowAdditions.m') diff --git a/Source/SPWindowAdditions.m b/Source/SPWindowAdditions.m index 105e2bd7..b04562e3 100644 --- a/Source/SPWindowAdditions.m +++ b/Source/SPWindowAdditions.m @@ -32,10 +32,10 @@ // // Returns the height of the currently visible toolbar. // ------------------------------------------------------------------------------- -- (float)toolbarHeight +- (CGFloat)toolbarHeight { NSRect windowFrame; - float toolbarHeight = 0.0; + CGFloat toolbarHeight = 0.0; if (([self toolbar]) && ([[self toolbar] isVisible])) { windowFrame = [NSWindow contentRectForFrameRect:[self frame] styleMask:[self styleMask]]; @@ -60,7 +60,7 @@ viewSize.height = [self contentMinSize].height; } - float newHeight = (viewSize.height + [self toolbarHeight]); + CGFloat newHeight = (viewSize.height + [self toolbarHeight]); // If the title bar is visible add 22 pixels to new height of window. if (visible) { -- cgit v1.2.3