diff --git a/src/winio.c b/src/winio.c index 95177fcf9e700468da5c6492c7c3d2d4753cc393..bf5f82b45feee9e0378162538f1832c693cb0d0e 100644 --- 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.