From 85f9f0f941edf7b2dbe7db24ebb7445a6329f147 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 18 Oct 2006 20:27:52 +0000
Subject: [PATCH] simplify

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3909 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 src/cut.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/cut.c b/src/cut.c
index d2abf60d..171574b1 100644
--- a/src/cut.c
+++ b/src/cut.c
@@ -194,11 +194,11 @@ void do_cut_text(
 		cb_save->data -= cb_save_len;
 	    } else
 		copy_from_filestruct(cutbuffer, cutbottom);
-	}
 
-	/* Set the current place we want to where the text from the
-	 * cutbuffer ends. */
-	openfile->placewewant = xplustabs();
+	    /* Set the current place we want to where the text from the
+	     * cutbuffer ends. */
+	    openfile->placewewant = xplustabs();
+	}
 
 	/* Set NO_NEWLINES back to what it was before, since we're done
 	 * disturbing the text. */
-- 
GitLab