diff options
author | 2012-09-25 19:16:52 +0000 | |
---|---|---|
committer | 2012-09-25 19:16:52 +0000 | |
commit | 4bbcb10b79de0c6d2a61bc11a7278f4ccde5d172 (patch) | |
tree | be3f0dbf5cd01cc049cfe013f8e0ec7fce87efd4 | |
parent | make const arguments const, and static functions static. (diff) | |
download | wireguard-openbsd-4bbcb10b79de0c6d2a61bc11a7278f4ccde5d172.tar.xz wireguard-openbsd-4bbcb10b79de0c6d2a61bc11a7278f4ccde5d172.zip |
Stop the space char completing a file name. This mimics more recent
versions of emacs.
kjell and jasper@ agree.
-rw-r--r-- | usr.bin/mg/echo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/echo.c b/usr.bin/mg/echo.c index ce173f63128..beff2f1420b 100644 --- a/usr.bin/mg/echo.c +++ b/usr.bin/mg/echo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: echo.c,v 1.50 2012/04/12 04:47:59 lum Exp $ */ +/* $OpenBSD: echo.c,v 1.51 2012/09/25 19:16:52 lum Exp $ */ /* This file is in the public domain. */ @@ -184,7 +184,7 @@ veread(const char *fp, char *buf, size_t nbuf, int flag, va_list ap) ttflush(); for (;;) { c = getkey(FALSE); - if ((flag & EFAUTO) != 0 && (c == ' ' || c == CCHR('I'))) { + if ((flag & EFAUTO) != 0 && c == CCHR('I')) { if (cplflag == TRUE) { complt_list(flag, buf, cpos); cwin = TRUE; |