]> git.wh0rd.org Git - nano.git/commitdiff
cosmetic fix
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 11 May 2006 11:13:54 +0000 (11:13 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 11 May 2006 11:13:54 +0000 (11:13 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3501 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/cut.c

index e54ff3a1ea9fe42b942ebaa30eed5d40b68c4a5f..9cbf4d6453611e56590f9fb4f72396ed4e2d93c7 100644 (file)
--- a/src/cut.c
+++ b/src/cut.c
@@ -141,7 +141,7 @@ void do_cut_text(
            /* If the cutbuffer isn't empty, save where it currently
             * ends.  This is where the new text will be added. */
            cb_save = cutbottom;
-           cb_save_len = strlen(cb_save->data);
+           cb_save_len = strlen(cutbottom->data);
        }
 
        /* Set NO_NEWLINES to TRUE, so that we don't disturb the last