From: David Lawrence Ramsey Date: Fri, 8 Oct 2004 20:34:53 +0000 (+0000) Subject: comment fix X-Git-Tag: v1.3.5~145 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6b1c2adc861f9474779116e7cb83d7bc800ada21;p=nano.git comment fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1975 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/utils.c b/src/utils.c index 25c0d63c..f04f2123 100644 --- 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)