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
commit87e9e3d3ebfa7ad6ba1b8e3cab2e5fd0293d664e (patch)
tree0c360a2f044095e20e6817dc51ee9bed6b371112
parent5e690f90debfb95ea26b9779cefa41e48d2e6a8d (diff)
downloadscintilla-mirror-87e9e3d3ebfa7ad6ba1b8e3cab2e5fd0293d664e.tar.gz
Mark ImmEscapeW as global.
-rw-r--r--win32/ScintillaWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index eab1ff796..df05dea68 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -1044,7 +1044,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);
}
}