git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_1_0_branch/nano@882
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
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
i = editbot->lineno;
renumber(newbuf);
- if (i < newend->lineno) {
+ if (i < newend->lineno)
edit_update(fileptr, CENTER);
- }
- else {
- edit_refresh();
- }
dump_buffer_reverse(fileptr);