nano

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

commit 47b693e5823f9ef6d716b3c4f24a8d087bced321
parent 2c5d0ecbb34f5fb21ff910b331d4e973430a523f
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Wed,  9 Nov 2005 19:22:29 +0000

add comment


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

Diffstat:
Msrc/text.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/text.c b/src/text.c @@ -974,6 +974,9 @@ filestruct *backup_lines(filestruct *first_line, size_t par_len) } #endif + /* Note: par_len will be one greater than the number of lines + * between current and filebot if filebot is the last line to be + * backed up. */ assert(par_len > 0 && openfile->current->lineno + par_len <= filebot->lineno + 1);