commit a16315a65f38cceeffbb287c086581dfb3e47c82
parent d6beca5dcf46fd08e2322f357e7c7227a575e94b
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 8 Mar 2020 15:50:55 +0100
tweaks: remove a redundant statement, a spurious reference to 'cutbottom'
This assignment should have been removed in commit f5ac8c1e from
six years ago, as it became superfluous then. Later changes made
'cutbottom' become valid only when something had actually been cut.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/text.c b/src/text.c
@@ -1036,7 +1036,6 @@ void add_undo(undo_type action, const char *message)
break;
case PASTE:
u->cutbuffer = copy_buffer(cutbuffer);
- u->tail_lineno += cutbottom->lineno - cutbuffer->lineno;
if (thisline == openfile->filebot)
u->xflags |= INCLUDED_LAST_LINE;
break;