summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowmacosx.cpp
diff options
context:
space:
mode:
authorGeenz <geenz@geenzo.com>2013-01-02 18:53:44 -0500
committerGeenz <geenz@geenzo.com>2013-01-02 18:53:44 -0500
commit9ce3ab1a5248423eeea4d843bfb8407ed62b305e (patch)
tree038e2c3839772df1e30297eb1b58f11a62adf680 /indra/llwindow/llwindowmacosx.cpp
parent966a4c893c816fc699580092bd6e93a0e514798c (diff)
Fixed the enter and return keys not being sent appropriately as unicode characters.
Diffstat (limited to 'indra/llwindow/llwindowmacosx.cpp')
-rw-r--r--indra/llwindow/llwindowmacosx.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp
index cc0959edf8..902391e170 100644
--- a/indra/llwindow/llwindowmacosx.cpp
+++ b/indra/llwindow/llwindowmacosx.cpp
@@ -270,7 +270,10 @@ void callDoubleClick(float *pos, MASK mask)
void callResize(unsigned int width, unsigned int height)
{
- gWindowImplementation->getCallbacks()->handleResize(gWindowImplementation, width, height);
+ if (gWindowImplementation != NULL)
+ {
+ gWindowImplementation->getCallbacks()->handleResize(gWindowImplementation, width, height);
+ }
}
void callMouseMoved(float *pos, MASK mask)