fix still more backup_lines() breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3138 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey 2005-11-09 23:27:51 +00:00
parent af5a9997fd
commit f0575cfa10
1 changed files with 1 additions and 1 deletions

View File

@ -988,7 +988,7 @@ filestruct *backup_lines(filestruct *first_line, size_t par_len)
/* Move the paragraph from the current buffer's filestruct to the
* justify buffer. */
move_to_filestruct(&jusbuffer, &jusbottom, top, 0, bot,
(bot == openfile->filebot) ? strlen(bot->data) : 0);
(i == 1 && bot == openfile->filebot) ? strlen(bot->data) : 0);
/* Copy the paragraph back to the current buffer's filestruct from
* the justify buffer. */