nano

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

commit e74851451dd18147f57e6cf51c3a80caca8a1c61
parent ad7cf31cbff5dc00369c7dead9076fc431f3ea33
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Thu, 10 Nov 2005 07:11:51 +0000

more comment fixes


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

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

diff --git a/src/text.c b/src/text.c @@ -1082,11 +1082,11 @@ bool find_paragraph(size_t *const quote, size_t *const par) /* Now current is the first line of the paragraph. Set quote_len to * the quotation length of that line, and set par_len to the number * of lines in this paragraph. If, while calculating the latter, we - * end up past the beginning of the line, it means that we're at the + * end up past the beginning of the line, it means that we're on the * last line of the file, and the file doesn't end in a newline. If - * we were there before moving, there aren't any paragraphs left, so - * get out. If we weren't there before moving, it means that the - * line is part of this paragraph. */ + * we were at the same place before, there aren't any paragraphs + * left, so get out. Otherwise, the last line of the file is part + * of this paragraph. */ quote_len = quote_length(openfile->current->data); current_save = openfile->current; current_x_save = openfile->current_x;