diff options
author | Geenz <geenz@geenzo.com> | 2013-01-02 18:53:44 -0500 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2013-01-02 18:53:44 -0500 |
commit | 9ce3ab1a5248423eeea4d843bfb8407ed62b305e (patch) | |
tree | 038e2c3839772df1e30297eb1b58f11a62adf680 /indra/llwindow/llwindowmacosx.cpp | |
parent | 966a4c893c816fc699580092bd6e93a0e514798c (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.cpp | 5 |
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) |