]> git.wh0rd.org Git - nano.git/commitdiff
Okay, and now dont add extra blanks when at filebot
authorChris Allegretta <chrisa@asty.org>
Fri, 22 Jun 2001 21:47:23 +0000 (21:47 +0000)
committerChris Allegretta <chrisa@asty.org>
Fri, 22 Jun 2001 21:47:23 +0000 (21:47 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_1_0_branch/nano@692 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

cut.c

diff --git a/cut.c b/cut.c
index e10ef6ce5b9873f02935798ebdc53c596b490448..854ce330832dd0a55ec0553f0400cb7a9e8d8fd3 100644 (file)
--- a/cut.c
+++ b/cut.c
@@ -169,7 +169,7 @@ int do_cut_text(void)
 
        /* If the line is empty and we didn't just cut a non-blank
                line, create a dummy line and add it to the cutbuffer */
-           if (marked_cut != 1) {
+           if (marked_cut != 1 && current->next != filebot) {
 
                filestruct *junk;