diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ZYZPhoneticEditor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ZYZPhoneticEditor.cc b/src/ZYZPhoneticEditor.cc index 71e4a41..0c1ffa9 100644 --- a/src/ZYZPhoneticEditor.cc +++ b/src/ZYZPhoneticEditor.cc @@ -710,7 +710,7 @@ PhoneticEditor::getCursorLeft (void) /* align to the begin of chewing key. */ /* restore cursor variable. */ - return m_cursor - cursor + left; + return m_cursor - (cursor + 1) + left; } } |