]> git.wh0rd.org Git - nano.git/commitdiff
cosmetic fixes
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Sun, 18 Jun 2006 15:26:51 +0000 (15:26 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Sun, 18 Jun 2006 15:26:51 +0000 (15:26 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3664 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/cut.c

index 822a46b83fabcd8af0e25eeb82d9fdf0e3f8e2c6..63267a296365b43283d520c08429eb7e78b3eb18 100644 (file)
--- a/src/cut.c
+++ b/src/cut.c
@@ -256,9 +256,12 @@ void do_uncut_text(void)
      * cutbuffer ends. */
     openfile->placewewant = xplustabs();
 
-    edit_refresh();
+    /* Mark the file as modified. */
     set_modified();
 
+    /* Update the screen. */
+    edit_refresh();
+
 #ifdef DEBUG
     dump_filestruct_reverse();
 #endif