summaryrefslogtreecommitdiffstats
path: root/bin/ksh/emacs.c
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2003-08-26 17:55:01 +0000
committerfgsch <fgsch@openbsd.org>2003-08-26 17:55:01 +0000
commit3e85849dad529995d1b66cdd61a66e70c6cdabfd (patch)
tree3689688f243b190b33c4e6f87c5ed9243c05e0cd /bin/ksh/emacs.c
parentFix afsd on architectures that care about alignment. This corrects a problem (diff)
downloadwireguard-openbsd-3e85849dad529995d1b66cdd61a66e70c6cdabfd.tar.xz
wireguard-openbsd-3e85849dad529995d1b66cdd61a66e70c6cdabfd.zip
fix backward and forward delete; from wiz@netbsd.org. many thanks.
Diffstat (limited to 'bin/ksh/emacs.c')
-rw-r--r--bin/ksh/emacs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ksh/emacs.c b/bin/ksh/emacs.c
index 8ad90db10a6..6eee5626e86 100644
--- a/bin/ksh/emacs.c
+++ b/bin/ksh/emacs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emacs.c,v 1.23 2003/08/23 02:30:59 fgsch Exp $ */
+/* $OpenBSD: emacs.c,v 1.24 2003/08/26 17:55:01 fgsch Exp $ */
/*
* Emacs-like command line editing and history
@@ -595,7 +595,7 @@ static int
x_del_bword(c)
int c;
{
- x_delete(x_bword(), FALSE);
+ x_delete(x_bword(), TRUE);
return KSTD;
}
@@ -619,7 +619,7 @@ static int
x_del_fword(c)
int c;
{
- x_delete(x_fword(), FALSE);
+ x_delete(x_fword(), TRUE);
return KSTD;
}