search: stay in the Search menu when trying to Replace in view mode
This fixes https://savannah.gnu.org/bugs/?56274.
Bug existed since version 3.1, commit 6cd53e7f
.
master
parent
3c959fd038
commit
5764619655
|
@ -153,9 +153,9 @@ void search_init(bool replacing, bool keep_the_answer)
|
||||||
} else if (func == flip_replace) {
|
} else if (func == flip_replace) {
|
||||||
if (ISSET(VIEW_MODE)) {
|
if (ISSET(VIEW_MODE)) {
|
||||||
print_view_warning();
|
print_view_warning();
|
||||||
break;
|
napms(600);
|
||||||
}
|
} else
|
||||||
replacing = !replacing;
|
replacing = !replacing;
|
||||||
} else {
|
} else {
|
||||||
if (func == flip_goto)
|
if (func == flip_goto)
|
||||||
do_gotolinecolumn(openfile->current->lineno,
|
do_gotolinecolumn(openfile->current->lineno,
|
||||||
|
|
Loading…
Reference in New Issue