diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2002-06-09 05:47:28 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2002-06-09 05:47:28 +0000 |
commit | aa788cfe003b0c53a76b1fb2782c50b95c665905 (patch) | |
tree | 4f31fc9073ed0abd769fa8bbb17768007717136c /bin/ksh/edit.c | |
parent | aaee1c091ba0c57cec98797351db4b0862b0bf1f (diff) |
knf
Diffstat (limited to 'bin/ksh/edit.c')
-rw-r--r-- | bin/ksh/edit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ksh/edit.c b/bin/ksh/edit.c index 6dfc5ba7ec7..02bd31c17a7 100644 --- a/bin/ksh/edit.c +++ b/bin/ksh/edit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: edit.c,v 1.14 2002/02/16 17:18:08 millert Exp $ */ +/* $OpenBSD: edit.c,v 1.15 2002/06/09 05:47:27 todd Exp $ */ /* * Command line editing - common code @@ -323,7 +323,7 @@ x_mode(onoff) * * DESCRIPTION: * This function is based on a fix from guy@demon.co.uk - * It fixes a bug in that if PS1 contains '!', the length + * It fixes a bug in that if PS1 contains '!', the length * given by strlen() is probably wrong. * * RETURN VALUE: @@ -385,7 +385,7 @@ set_editmode(ed) }; char *rcp; int i; - + if ((rcp = ksh_strrchr_dirsep(ed))) ed = ++rcp; for (i = 0; i < NELEM(edit_flags); i++) |