From: David Lawrence Ramsey Date: Thu, 10 Nov 2005 21:57:56 +0000 (+0000) Subject: fix still more do_justify() breakage X-Git-Tag: v1.3.10~89 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=53f641f9099bce6f54b351a1ba77ad2f54bc4c9d;p=nano.git fix still more do_justify() breakage git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3157 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/text.c b/src/text.c index 33dbd84c..97d8b5b6 100644 --- a/src/text.c +++ b/src/text.c @@ -1213,8 +1213,8 @@ void do_justify(bool full_justify) * first_par_line to the first line of the copy. */ 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->lineno - openfile->current->lineno + + ((openfile->filebot->data[0] != '\0') ? 1 : 0) : par_len); first_par_line = openfile->current; }