mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 08:50:24 +08:00
[IMM32] ImmGetDescriptionW: Check IS_IME_HKL (#8762)
Tougher system. JIRA issue: CORE-19268
This commit is contained in:
committed by
GitHub
parent
4ca47af13f
commit
ed0b44f3b9
@@ -675,7 +675,7 @@ ImmGetDescriptionW(
|
||||
|
||||
TRACE("(%p, %p, %d)\n", hKL, lpszDescription, uBufLen);
|
||||
|
||||
if (!ImmGetImeInfoEx(&info, ImeInfoExKeyboardLayout, &hKL))
|
||||
if (!IS_IME_HKL(hKL) || !ImmGetImeInfoEx(&info, ImeInfoExKeyboardLayout, &hKL))
|
||||
{
|
||||
ERR("\n");
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user