https://git.reactos.org/?p=reactos.git;a=commitdiff;h=fd46398b63a49293e9cb1…
commit fd46398b63a49293e9cb1759c4b06c0fa5366d5f
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Sep 17 07:12:05 2022 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Sat Sep 17 07:12:05 2022 +0900
[INPUT] Fix IsRebootNeeded condition
If there is any IME HKL, reboot is needed.
Follow-up to #4666 (596f04b). CORE-11700, CORE-18364
---
dll/cpl/input/settings_page.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/dll/cpl/input/settings_page.c b/dll/cpl/input/settings_page.c
index a42de1399d6..86ff2162f66 100644
--- a/dll/cpl/input/settings_page.c
+++ b/dll/cpl/input/settings_page.c
@@ -360,12 +360,7 @@ static BOOL IsRebootNeeded(VOID)
{
if (IS_IME_HKL(pNode->hkl)) /* IME? */
{
- if (pNode->wFlags & (INPUT_LIST_NODE_FLAG_ADDED |
- INPUT_LIST_NODE_FLAG_EDITED |
- INPUT_LIST_NODE_FLAG_DEFAULT))
- {
- return TRUE;
- }
+ return TRUE;
}
}