Commit bb394990 authored by Liu Hao's avatar Liu Hao Committed by Benno Schulenberg
Browse files

replacing: always clear the backwards flag for ^\, just like for ^W


This makes it easier to predict in which direction the replacements
will go when hitting ^\ or M-R.
Signed-off-by: default avatarLiu Hao <lh_mouse@126.com>
No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
......@@ -702,8 +702,10 @@ void do_replace(void)
{
if (ISSET(VIEW_MODE))
print_view_warning();
else
else {
UNSET(BACKWARDS_SEARCH);
search_init(TRUE, FALSE);
}
}
/* Ask the user what the already given search string should be replaced with. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment