nano

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

commit 57f1bbd99149a28624a3c30a81d5683266215e7c
parent cd8f73521ee5e0de47e437729063e3ff161f9782
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Thu, 10 Nov 2005 21:53:46 +0000

fix more do_justify() breakage


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

Diffstat:
Msrc/text.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/text.c b/src/text.c @@ -1214,7 +1214,7 @@ void do_justify(bool full_justify) if (first_par_line == NULL) { backup_lines(openfile->current, full_justify ? (openfile->filebot->lineno - openfile->current->lineno + - (openfile->filebot->data[0] != '\0') ? 1 : 0) : + ((openfile->filebot->data[0] != '\0') ? 1 : 0)) : par_len); first_par_line = openfile->current; }