]> git.wh0rd.org Git - nano.git/commitdiff
fix still more backup_lines() breakage
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 10 Nov 2005 03:32:59 +0000 (03:32 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 10 Nov 2005 03:32:59 +0000 (03:32 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3139 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/text.c

index a3ba0711bc756244cd050fc383e9562a247b3d83..83afd0d62d011ff9c31df3a9d4a8fac442ca71e6 100644 (file)
@@ -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;