Return to undo.c CVS log | Up to [local] / src / usr.bin / mg |
version 1.26, 2005/04/29 07:22:38 | version 1.27, 2005/05/29 21:37:49 | ||
---|---|---|---|
|
|
||
memmove(&rec->region, ®, sizeof(REGION)); | memmove(&rec->region, ®, sizeof(REGION)); | ||
rec->content = NULL; | rec->content = NULL; | ||
if (lastrectype() != INSERT) | undo_add_boundary(); | ||
undo_add_boundary(); | |||
LIST_INSERT_HEAD(&curwp->w_undo, rec, next); | LIST_INSERT_HEAD(&curwp->w_undo, rec, next); | ||