diff --git a/src/text.c b/src/text.c index 18a62f0a..4fe441fc 100644 --- a/src/text.c +++ b/src/text.c @@ -1313,6 +1313,7 @@ void add_undo(undo_type action) u->mark_begin_lineno = openfile->current->lineno; u->mark_begin_x = openfile->current_x; u->wassize = openfile->totsize; + u->newsize = openfile->totsize; u->xflags = 0; u->grouping = NULL;