]> git.wh0rd.org Git - nano.git/commitdiff
simplify
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 18 Oct 2006 20:27:52 +0000 (20:27 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 18 Oct 2006 20:27:52 +0000 (20:27 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3909 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/cut.c

index d2abf60d364d2acb6b219d8b7c33af186650be21..171574b1079b9d6b8c64792b3415a6e2281f45c3 100644 (file)
--- 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. */