mirror of https://github.com/MidnightCommander/mc
* edit/editcmd.c (edit_replace_cmd): Disable scanf-printf replacement
if "Regular expression" is selected. Fix for savannah bug #19333.
This commit is contained in:
parent
9312932eea
commit
fb01c26098
|
@ -1,3 +1,8 @@
|
|||
2007-04-27 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* editcmd.c (edit_replace_cmd): Disable scanf-printf replacement
|
||||
if "Regular expression" is selected. Fix for savannah bug #19333.
|
||||
|
||||
2007-02-02 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* edit.h: Make skip_detach_prompt unsigned. Otherwise, it
|
||||
|
|
|
@ -1967,7 +1967,7 @@ edit_replace_cmd (WEdit *edit, int again)
|
|||
}
|
||||
}
|
||||
if (replace_yes) { /* delete then insert new */
|
||||
if (replace_scanf || replace_regexp) {
|
||||
if (replace_scanf) {
|
||||
char repl_str[MAX_REPL_LEN + 2];
|
||||
int ret = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue