aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r--win32/ScintillaWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 7dd7d410b..f5d675f75 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -1031,7 +1031,7 @@ sptr_t ScintillaWin::HandleCompositionInline(uptr_t, sptr_t lParam) {
// Record compstr character positions for moving IME carets.
numBytes += oneCharLen;
- imeCharPos[i + 1] = numBytes;
+ imeCharPos[i + ucWidth] = numBytes;
// Draw an indicator on the character.
int indicator = SC_INDICATOR_UNKNOWN;