diff options
author | Steven Bennetts <steve@lindenlab.com> | 2008-04-29 01:57:32 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2008-04-29 01:57:32 +0000 |
commit | 6217b3fca759b49dede767c6c99a312d3482e720 (patch) | |
tree | cdbfc7131dcf194a6b27f6b370dfbfd1c759de3f /indra/newview/llviewerwindow.cpp | |
parent | 16baf6c9d43fc29e697b5a460439ca664897450c (diff) |
Fixed a bogus assert and a rare but obvious crash bug.
Reviewed by Palmer
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index a753032180..2c283faf3b 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -1259,8 +1259,8 @@ void LLViewerWindow::handleFocusLost(LLWindow *window) } // restore mouse cursor - gViewerWindow->showCursor(); - gViewerWindow->getWindow()->setMouseClipping(FALSE); + showCursor(); + getWindow()->setMouseClipping(FALSE); // JC - Leave keyboard focus, so if you're popping in and out editing // a script, you don't have to click in the editor again and again. @@ -1435,7 +1435,7 @@ BOOL LLViewerWindow::handlePaint(LLWindow *window, S32 x, S32 y, S32 width, S void LLViewerWindow::handleScrollWheel(LLWindow *window, S32 clicks) { - gViewerWindow->handleScrollWheel( clicks ); + handleScrollWheel( clicks ); } void LLViewerWindow::handleWindowBlock(LLWindow *window) |