1
1

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.
Этот коммит содержится в:
Benno Schulenberg 2020-03-08 15:50:55 +01:00
родитель d6beca5dcf
Коммит a16315a65f

Просмотреть файл

@ -1036,7 +1036,6 @@ void add_undo(undo_type action, const char *message)
break; break;
case PASTE: case PASTE:
u->cutbuffer = copy_buffer(cutbuffer); u->cutbuffer = copy_buffer(cutbuffer);
u->tail_lineno += cutbottom->lineno - cutbuffer->lineno;
if (thisline == openfile->filebot) if (thisline == openfile->filebot)
u->xflags |= INCLUDED_LAST_LINE; u->xflags |= INCLUDED_LAST_LINE;
break; break;