From: David Lawrence Ramsey Date: Wed, 9 Nov 2005 22:59:51 +0000 (+0000) Subject: fix more backup_lines() breakage X-Git-Tag: v1.3.10~110 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c82bc8ba84f1ab20beabeeb9948c535110f96a0d;p=nano.git fix more backup_lines() breakage git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3136 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/text.c b/src/text.c index df2d35a6..d7743bdc 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 == filebot) ? strlen(bot->data) : 0); + (bot == openfile->filebot) ? strlen(bot->data) : 0); /* Copy the paragraph back to the current buffer's filestruct from * the justify buffer. */