summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2022-11-02 19:38:01 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2022-11-02 19:38:01 +0200
commita53ccb237919d4361d1625cc0b0aac338267509f (patch)
tree446d08a474e01bf72b5b8cb746ebb4fc3b1d31ae /indra
parent791fb0ee565ef8c485c5883ebfbad4146cfeb65b (diff)
SL-18136 fix for Japanese IME
Diffstat (limited to 'indra')
-rw-r--r--indra/llwindow/llwindowwin32.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp
index 984afe623c..41f3042ace 100644
--- a/indra/llwindow/llwindowwin32.cpp
+++ b/indra/llwindow/llwindowwin32.cpp
@@ -4251,7 +4251,10 @@ void LLWindowWin32::handleCompositionMessage(const U32 indexes)
if (needs_update)
{
- mPreeditor->resetPreedit();
+ if (preedit_string.length() != 0 || result_string.length() != 0)
+ {
+ mPreeditor->resetPreedit();
+ }
if (result_string.length() > 0)
{