From 874a67776bb2e0ec3f0d5c79cae570830da91d56 Mon Sep 17 00:00:00 2001 From: Richard Linden Date: Mon, 27 Feb 2012 14:02:09 -0800 Subject: fix for mac build --- indra/llwindow/llwindowmacosx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra') diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp index fef5f4da3b..32bb84cba5 100644 --- a/indra/llwindow/llwindowmacosx.cpp +++ b/indra/llwindow/llwindowmacosx.cpp @@ -1269,9 +1269,9 @@ BOOL LLWindowMacOSX::setSizeImpl(const LLCoordScreen size) BOOL LLWindowMacOSX::setSizeImpl(const LLCoordWindow size) { Rect client_rect; - if (mWindow && GetWindowBounds(mWindow, kWindowContentRgn, &client_rect) != noErr) + if (mWindow) { - OSStatus err = getWindowBounds(mWindow, kWindowContentRgn, &client_rect); + OSStatus err = GetWindowBounds(mWindow, kWindowContentRgn, &client_rect); if (err == noErr) { client_rect.right = client_rect.left + size.mX; -- cgit v1.2.3