https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f4bb0ae37620b5925b714…
commit f4bb0ae37620b5925b7149319d1669b0cddd3c92
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Feb 25 09:16:36 2023 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Feb 25 09:16:36 2023 +0900
[COMDLG32] Find/Replace: Correctly set flags (#5097)
The flags were not updated correctly. CORE-17064
---
dll/win32/comdlg32/finddlg.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dll/win32/comdlg32/finddlg.c b/dll/win32/comdlg32/finddlg.c
index d769325e9f0..fc13f8a7d54 100644
--- a/dll/win32/comdlg32/finddlg.c
+++ b/dll/win32/comdlg32/finddlg.c
@@ -168,6 +168,12 @@ Replace:
EnableWindow(GetDlgItem(hDlgWnd, psh2), enable);
}
}
+#ifdef __REACTOS__
+ else if (NotifyCode == EN_KILLFOCUS && Id == edt1)
+ {
+ pData->user_fr.fra->Flags |= COMDLG32_FR_GetFlags(hDlgWnd);
+ }
+#endif
}
/***********************************************************************