Skip to content

Commit

Permalink
Reset "Transforms Backslashes" when copy selection as find text, issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed May 14, 2024
1 parent 38f362b commit 913655f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Edit.c
Original file line number Diff line number Diff line change
Expand Up @@ -4887,9 +4887,7 @@ static INT_PTR CALLBACK EditFindReplaceDlgProc(HWND hwnd, UINT umsg, WPARAM wPar
if (!GetWindowTextLength(hwndFind)) {
SetDlgItemTextA2W(CP_UTF8, hwnd, IDC_FINDTEXT, lpefr->szFindUTF8);
}
if (lpefr->bTransformBS) {
CheckDlgButton(hwnd, IDC_FINDTRANSFORMBS, BST_CHECKED);
}
CheckDlgButton(hwnd, IDC_FINDTRANSFORMBS, lpefr->bTransformBS ? BST_CHECKED : BST_UNCHECKED);
// focus on replace box when selected text is not empty.
PostMessage(hwnd, WM_NEXTDLGCTL, (WPARAM)((hasFindText && hwndRepl)? hwndRepl : hwndFind), TRUE);
}
Expand Down

0 comments on commit 913655f

Please sign in to comment.