From f0575cfa1083ce0f82d1be71d7da6a46e4e8950d Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Wed, 9 Nov 2005 23:27:51 +0000 Subject: [PATCH] fix still more backup_lines() breakage git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3138 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text.c b/src/text.c index b68c3202..a3ba0711 100644 --- a/src/text.c +++ b/src/text.c @@ -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. */