tweaks: remove a redundant assignment

Consecutive additions all happen on the same line.  When automatic
hard-wrapping occurs, the ADD item is grouped together with an ENTER
item, and subsequent additions go into a new ADD item.
master
Benno Schulenberg 2020-03-05 13:28:20 +01:00
parent fb4bcd8cfd
commit 70d59ffe16
1 changed files with 0 additions and 1 deletions

View File

@ -1285,7 +1285,6 @@ void update_undo(undo_type action)
u->strdata = charealloc(u->strdata, newlen + 1);
strncpy(u->strdata, openfile->current->data + u->head_x, newlen);
u->strdata[newlen] = '\0';
u->tail_lineno = openfile->current->lineno;
u->tail_x = openfile->current_x;
break;
case ENTER: