From bac8908814ce9f9ff0cd07786ae75b8b8f34003b Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 18 Jun 2006 15:26:51 +0000 Subject: [PATCH] cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3664 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/cut.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cut.c b/src/cut.c index 822a46b8..63267a29 100644 --- 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