From 7ce38093d9e92adb2cb970472486b4f3f7680bfa Mon Sep 17 00:00:00 2001 From: sdottaka Date: Sun, 8 Sep 2024 15:32:48 +0900 Subject: [PATCH] Fix #2422: Text replacement result is wrong. --- Externals/crystaledit/editlib/dialogs/ceditreplacedlg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Externals/crystaledit/editlib/dialogs/ceditreplacedlg.cpp b/Externals/crystaledit/editlib/dialogs/ceditreplacedlg.cpp index ab198b773f2..42b1eb1018f 100644 --- a/Externals/crystaledit/editlib/dialogs/ceditreplacedlg.cpp +++ b/Externals/crystaledit/editlib/dialogs/ceditreplacedlg.cpp @@ -136,6 +136,7 @@ void CEditReplaceDlg::OnChangeEditText () { UpdateData(); UpdateControls(); + m_bFound = false; } void CEditReplaceDlg::OnChangeSelected () { @@ -146,6 +147,7 @@ void CEditReplaceDlg::OnChangeSelected () m_ctlFindText.SetWindowText(m_sText); } UpdateControls(); + m_bFound = false; } void CEditReplaceDlg::