nano

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

commit 85f6a2daabda2ca55647908cc6b4e60c8d4a2bab
parent 6ea410e14e777b642bcd55ba60822050f4072da4
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun, 26 Jun 2005 22:59:54 +0000

more last-minute comment fixes


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

Diffstat:
Msrc/winio.c | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/winio.c b/src/winio.c @@ -3088,8 +3088,10 @@ void edit_add(const filestruct *fileptr, const char *converted, int * characters on a whole line. */ size_t index; /* Index in converted where we paint. */ - regmatch_t startmatch; /* match position for start_regexp */ - regmatch_t endmatch; /* match position for end_regexp */ + regmatch_t startmatch; + /* Match position for start_regex. */ + regmatch_t endmatch; + /* Match position for end_regex. */ if (tmpcolor->bright) wattron(edit, A_BOLD); @@ -3145,7 +3147,7 @@ void edit_add(const filestruct *fileptr, const char *converted, int k = startmatch.rm_eo; } } else { - /* This is a multi-line regexp. There are two steps. + /* This is a multi-line regex. There are two steps. * First, we have to see if the beginning of the line is * colored by a start on an earlier line, and an end on * this line or later.