From ff12e95da00c6d85008c8d6e46b40c27397251a3 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Wed, 24 Oct 2001 17:38:41 +0000 Subject: [PATCH] Back out that change I wasn't commiting just yet *ugh* git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_1_0_branch/nano@882 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- cut.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/cut.c b/cut.c index 6a05aca2..08a2fa85 100644 --- a/cut.c +++ b/cut.c @@ -385,12 +385,8 @@ int do_uncut_text(void) i = editbot->lineno; current = newend; - if (i < newend->lineno) { + if (i <= newend->lineno) edit_update(current, CENTER); - } - else { - edit_refresh(); - } } /* If marked cut == 2, that means that we're doing a cut to end @@ -448,12 +444,8 @@ int do_uncut_text(void) i = editbot->lineno; renumber(newbuf); - if (i < newend->lineno) { + if (i < newend->lineno) edit_update(fileptr, CENTER); - } - else { - edit_refresh(); - } dump_buffer_reverse(fileptr); -- 2.39.5