replace update patch from rocco
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@280 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
271e972ff0
Коммит
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);
|
fileptr = findnextstr(replaceall, begin, *beginx, prevanswer);
|
||||||
|
|
||||||
/* No more matches. Done! */
|
/* No more matches. Done! */
|
||||||
if (!fileptr)
|
if (!fileptr) {
|
||||||
|
wrefresh(edit);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
/* Make sure only wholewords are found */
|
/* Make sure only wholewords are found */
|
||||||
if (wholewords)
|
if (wholewords)
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user