aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-03-13 08:22:21 +1100
committerNeil <nyamatongwe@gmail.com>2020-03-13 08:22:21 +1100
commit62e9baae3f94f4bdc1c1741f056ccbd7e48421e6 (patch)
treee78af44cd8bc545b2456550f2fcd40420b1d39f9
parente3a3ea3e7b81d9ccf19b1a8f565bbb66a997d3a9 (diff)
downloadscintilla-mirror-62e9baae3f94f4bdc1c1741f056ccbd7e48421e6.tar.gz
Backport: Mark ImmEscapeW as global.
Backport of changeset 8003:5cc508fe4b9c.
-rw-r--r--win32/ScintillaWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 784bf9e49..be4c59d4e 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -1042,7 +1042,7 @@ void ScintillaWin::EscapeHanja() {
// Set the candidate box position since IME may show it.
SetCandidateWindowPos();
// IME_ESC_HANJA_MODE appears to receive the first character only.
- if (ImmEscapeW(GetKeyboardLayout(0), imc.hIMC, IME_ESC_HANJA_MODE, &uniChar[0])) {
+ if (::ImmEscapeW(GetKeyboardLayout(0), imc.hIMC, IME_ESC_HANJA_MODE, &uniChar[0])) {
SetSelection(currentPos, currentPos + oneCharLen);
}
}