fix still more do_justify() breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3157 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-11-10 21:57:56 +00:00
parent 57f1bbd991
commit 53f641f909
1 changed files with 2 additions and 2 deletions

View File

@ -1213,8 +1213,8 @@ void do_justify(bool full_justify)
* first_par_line to the first line of the copy. */ * first_par_line to the first line of the copy. */
if (first_par_line == NULL) { if (first_par_line == NULL) {
backup_lines(openfile->current, full_justify ? backup_lines(openfile->current, full_justify ?
(openfile->filebot->lineno - openfile->current->lineno + openfile->filebot->lineno - openfile->current->lineno +
((openfile->filebot->data[0] != '\0') ? 1 : 0)) : ((openfile->filebot->data[0] != '\0') ? 1 : 0) :
par_len); par_len);
first_par_line = openfile->current; first_par_line = openfile->current;
} }