nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 0468612b4da29e6355bcac72df9e4b095072731e
parent 271e972ff00f6c155fb4f5072916c163fb1ff809
Author: Chris Allegretta <chrisa@asty.org>
Date:   Mon, 13 Nov 2000 15:45:50 +0000

replace update patch from rocco


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@280 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msearch.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/search.c b/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)