mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-24 03:16:52 +03:00
replace update patch from rocco
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@280 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
271e972ff0
commit
0468612b4d
4
search.c
4
search.c
@ -461,8 +461,10 @@ int do_replace_loop(char *prevanswer, filestruct *begin, int *beginx,
|
||||
fileptr = findnextstr(replaceall, begin, *beginx, prevanswer);
|
||||
|
||||
/* No more matches. Done! */
|
||||
if (!fileptr)
|
||||
if (!fileptr) {
|
||||
wrefresh(edit);
|
||||
break;
|
||||
}
|
||||
|
||||
/* Make sure only wholewords are found */
|
||||
if (wholewords)
|
||||
|
Loading…
Reference in New Issue
Block a user