diff --git a/src/cut.c b/src/cut.c
index d2abf60d364d2acb6b219d8b7c33af186650be21..171574b1079b9d6b8c64792b3415a6e2281f45c3 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. */