From: David Lawrence Ramsey Date: Fri, 26 May 2006 11:58:37 +0000 (+0000) Subject: more comment fixes X-Git-Tag: v1.3.12~108 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2ef7dae97103e050fb85e464923b4493d61fe53d;p=nano.git more comment fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3572 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/winio.c b/src/winio.c index 73a44a13..fcb70ac9 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2347,13 +2347,14 @@ void edit_draw(const filestruct *fileptr, const char *converted, int /* We increment k by rm_eo, to move past the end of the * last match. Even though two matches may overlap, we - * want to ignore them, so that we can highlight - * C-strings correctly. */ + * want to ignore them, so that we can highlight e.g. C + * strings correctly. */ while (k < endpos) { /* Note the fifth parameter to regexec(). It says * not to match the beginning-of-line character - * unless k is 0. If regexec() returns REG_NOMATCH, - * there are no more matches in the line. */ + * unless k is zero. If regexec() returns + * REG_NOMATCH, there are no more matches in the + * line. */ if (regexec(tmpcolor->start, &fileptr->data[k], 1, &startmatch, (k == 0) ? 0 : REG_NOTBOL) == REG_NOMATCH)