nano

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

commit 6b1c2adc861f9474779116e7cb83d7bc800ada21
parent 7cfea8bb8ce4bd7e87a8d40492d1271268389c3f
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Fri,  8 Oct 2004 20:34:53 +0000

comment fix


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

Diffstat:
Msrc/utils.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils.c b/src/utils.c @@ -322,7 +322,7 @@ const char *strstrwrapper(const char *haystack, const char *needle, && haystack + regmatches[0].rm_so <= start) { const char *retval = haystack + regmatches[0].rm_so; - /* Search forward until there is no more match. */ + /* Search forward until there are no more matches. */ while (regexec(&search_regexp, retval + 1, 1, regmatches, REG_NOTBOL) == 0 && retval + 1 + regmatches[0].rm_so <= start)