From fd46398b63a49293e9cb1759c4b06c0fa5366d5f Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Sat, 17 Sep 2022 07:12:05 +0900 Subject: [PATCH] [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; } }