mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+ fix: in/out variable initialization
This commit is contained in:
parent
cd57dc4a5c
commit
4c09e0bd25
@ -1044,7 +1044,7 @@ bool ScintillaWin::IsIMEOpen() {
|
||||
DWORD ScintillaWin::GetIMEInputMode() {
|
||||
IMContext imc(MainHWND());
|
||||
if (imc.hIMC && ImmGetOpenStatus(imc.hIMC)) {
|
||||
DWORD dwConversion, dwSentence;
|
||||
DWORD dwConversion = IME_CMODE_ALPHANUMERIC, dwSentence = IME_SMODE_NONE;
|
||||
if (ImmGetConversionStatus(imc.hIMC, &dwConversion, &dwSentence)) {
|
||||
return dwConversion;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user