commit 5d6f127948f780cd63e09bbd71c5477fbdea3e4d
parent f0575cfa1083ce0f82d1be71d7da6a46e4e8950d
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Thu, 10 Nov 2005 03:32:59 +0000
fix still more backup_lines() breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3139 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/text.c b/src/text.c
@@ -998,7 +998,7 @@ filestruct *backup_lines(filestruct *first_line, size_t par_len)
* line, putting first_line, edittop, current, and mark_begin at the
* same lines in the copied paragraph that they had in the original
* paragraph. */
- if (openfile->current != openfile->filebot)
+ if (openfile->current != openfile->fileage)
top = openfile->current->prev;
else
top = openfile->current;