summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-02-27 14:02:09 -0800
committerRichard Linden <none@none>2012-02-27 14:02:09 -0800
commit874a67776bb2e0ec3f0d5c79cae570830da91d56 (patch)
treee65aa330ee326f62b6adeca133acfa200abb856d /indra
parentfbfad41587a8ba723348eb848a7366f02da87052 (diff)
fix for mac build
Diffstat (limited to 'indra')
-rw-r--r--indra/llwindow/llwindowmacosx.cpp4
1 files changed, 2 insertions, 2 deletions
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;