commit bac8908814ce9f9ff0cd07786ae75b8b8f34003b
parent ee995b7d27499999a9736e05d4da931da47ab0b8
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sun, 18 Jun 2006 15:26:51 +0000
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3664 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git 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