summaryrefslogtreecommitdiff
path: root/usr.bin/mg/line.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/line.c')
-rw-r--r--usr.bin/mg/line.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/line.c b/usr.bin/mg/line.c
index 4710c57d8e2..47b341c0cc2 100644
--- a/usr.bin/mg/line.c
+++ b/usr.bin/mg/line.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: line.c,v 1.42 2006/07/25 08:27:09 kjell Exp $ */
+/* $OpenBSD: line.c,v 1.43 2006/11/17 08:45:31 kjell Exp $ */
/* This file is in the public domain. */
@@ -559,7 +559,7 @@ lreplace(RSIZE plen, char *st)
return (FALSE);
}
undo_add_boundary();
- undo_no_boundary(TRUE);
+ undo_boundary_enable(FALSE);
(void)backchar(FFARG | FFRAND, (int)plen);
(void)ldelete(plen, KNONE);
@@ -568,7 +568,7 @@ lreplace(RSIZE plen, char *st)
region_put_data(st, rlen);
lchange(WFFULL);
- undo_no_boundary(FALSE);
+ undo_boundary_enable(TRUE);
undo_add_boundary();
return (TRUE);
}