diff options
author | Maxim Nikolenko <118780484+maxim-productengine@users.noreply.github.com> | 2022-11-25 18:16:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-25 18:16:31 +0200 |
commit | d01f7afff206dd610b6c209e6bd69d646b47863f (patch) | |
tree | 6658e254ca6b16350cae29159a71f501d7130a96 /indra | |
parent | 0d3becc2db9ed67137e6a722d869730933f5ae9b (diff) |
SL-18713 fix crash in handleCompositionMessage (#12)
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llwindow/llwindowwin32.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp index c487877caf..740224adf9 100644 --- a/indra/llwindow/llwindowwin32.cpp +++ b/indra/llwindow/llwindowwin32.cpp @@ -4100,6 +4100,10 @@ void LLWindowWin32::handleStartCompositionMessage() void LLWindowWin32::handleCompositionMessage(const U32 indexes) { + if (!mPreeditor) + { + return; + } BOOL needs_update = FALSE; LLWString result_string; LLWString preedit_string; |