nano

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

commit 21014038243817cec7211e332036d802f842c528
parent 5455b6af46c2122a23e056757916f4a1821712b8
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Wed,  9 Nov 2005 20:33:42 +0000

cosmetic fixes


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

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

diff --git a/src/text.c b/src/text.c @@ -943,8 +943,8 @@ bool inpar(const filestruct *const foo) quote_len = quote_length(foo->data); - return foo->data[quote_len + indent_length(foo->data + - quote_len)] != '\0'; + return (foo->data[quote_len + indent_length(foo->data + + quote_len)] != '\0'); } /* Put the next par_len lines, starting with first_line, into the @@ -1094,7 +1094,7 @@ bool find_paragraph(size_t *const quote, size_t *const par) par_len = openfile->current->lineno - current_save->lineno; if (openfile->current == openfile->filebot && openfile->current_x == strlen(openfile->current->data)) { - if (openfile->current == current_save && + if (openfile->current == current_save && openfile->current_x == current_x_save) return FALSE; else