diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
| commit | 5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 (patch) | |
| tree | e779b5a6edddbb949b7990751b12d6f25304ba86 /usr.bin/elvis | |
| parent | a16f65c7d117419bd266c28a1901ef129a337569 (diff) | |
Diffstat (limited to 'usr.bin/elvis')
| -rw-r--r-- | usr.bin/elvis/input.c | 2 | ||||
| -rw-r--r-- | usr.bin/elvis/tmp.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/elvis/input.c b/usr.bin/elvis/input.c index ca5b11581b91..55bf9fc10acd 100644 --- a/usr.bin/elvis/input.c +++ b/usr.bin/elvis/input.c @@ -542,9 +542,9 @@ MARK input(from, to, when, delta) ChangeText { cut(from, to); + cursor = from; delete(from, to); } - cursor = from; break; #ifndef NO_POPUP diff --git a/usr.bin/elvis/tmp.c b/usr.bin/elvis/tmp.c index 46d29ec81daa..c7196df47a67 100644 --- a/usr.bin/elvis/tmp.c +++ b/usr.bin/elvis/tmp.c @@ -779,6 +779,7 @@ SIGTYPE deathtrap(sig) if (tmpnum > 0 && tmpfd >= 0) { close(tmpfd); + tmpfd = -1; sprintf(tmpblk.c, "%s \"%s\" %s", PRESERVE, why, tmpname); system(tmpblk.c); } |
