From: David Lawrence Ramsey Date: Thu, 10 Nov 2005 21:53:46 +0000 (+0000) Subject: fix more do_justify() breakage X-Git-Tag: v1.3.10~90 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=57f1bbd99149a28624a3c30a81d5683266215e7c;p=nano.git fix more do_justify() breakage git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3156 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/text.c b/src/text.c index f28deb7a..33dbd84c 100644 --- 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; }