nano

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

commit 94e7094ceecfe7e88e63c8c5828eab295761c1d8
parent 1122c85e3462fa862571dd76b68c0292be244eed
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Thu, 13 May 2004 18:04:31 +0000

minor cosmetic fixes


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

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

diff --git a/src/winio.c b/src/winio.c @@ -1896,7 +1896,8 @@ void edit_add(const filestruct *fileptr, const char *converted, int if (paintlen == COLS) goto skip_step_two; - step_two: /* Second step, we look for starts on this line. */ + step_two: + /* Second step, we look for starts on this line. */ start_col = 0; while (start_col < endpos) { if (regexec(&tmpcolor->start, @@ -1923,8 +1924,8 @@ void edit_add(const filestruct *fileptr, const char *converted, int endmatch.rm_so += startmatch.rm_eo; endmatch.rm_eo += startmatch.rm_eo; /* There is an end on this line. But does it - * appear on this page, and is the match more than - * zero characters long? */ + * appear on this page, and is the match more + * than zero characters long? */ if (endmatch.rm_eo > startpos && endmatch.rm_eo > startmatch.rm_so) { paintlen = strnlenpt(fileptr->data,