mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
Fix from Pavel Roskin
This commit is contained in:
parent
9a13d04545
commit
a54f4f9ca8
@ -1959,6 +1959,7 @@ void edit_replace_cmd (WEdit * edit, int again)
|
||||
char *exp3 = "";
|
||||
int replace_yes;
|
||||
int replace_continue;
|
||||
int treplace_prompt = replace_prompt;
|
||||
int i = 0;
|
||||
long times_replaced = 0, last_search;
|
||||
char fin_string[32];
|
||||
@ -2064,7 +2065,7 @@ void edit_replace_cmd (WEdit * edit, int again)
|
||||
|
||||
replace_yes = 1;
|
||||
|
||||
if (replace_prompt) {
|
||||
if (treplace_prompt) {
|
||||
int l;
|
||||
l = edit->curs_row - edit->num_widget_lines / 3;
|
||||
if (l > 0)
|
||||
@ -2087,7 +2088,7 @@ void edit_replace_cmd (WEdit * edit, int again)
|
||||
replace_yes = 0;
|
||||
break;
|
||||
case B_REPLACE_ALL:
|
||||
replace_prompt = 0;
|
||||
treplace_prompt = 0;
|
||||
replace_continue = 1;
|
||||
break;
|
||||
case B_REPLACE_ONE:
|
||||
|
Loading…
Reference in New Issue
Block a user