From: Chris Allegretta Date: Wed, 24 Oct 2001 17:38:41 +0000 (+0000) Subject: Back out that change I wasn't commiting just yet *ugh* X-Git-Tag: v1.0.6~7 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ff12e95da00c6d85008c8d6e46b40c27397251a3;p=nano.git 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 --- 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);