From 34319a1ff7f9ae429e8ed38d29f3e8c7b3ae1dab Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Fri, 22 Jun 2001 21:47:23 +0000
Subject: [PATCH] Okay, and now dont add extra blanks when at filebot

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@692 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 cut.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cut.c b/cut.c
index 73a30630..f37d151f 100644
--- a/cut.c
+++ b/cut.c
@@ -222,7 +222,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;
 
-- 
GitLab