aboutsummaryrefslogtreecommitdiff
path: root/cmdbuf.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2020-10-24 05:25:54 +0000
committerXin LI <delphij@FreeBSD.org>2020-10-24 05:25:54 +0000
commite3e1c0a5de4b6c7d51c0282b9378427383134aa9 (patch)
treed1180166250393879730fe69e09432a8195b537a /cmdbuf.c
parent6aa86b45318b321ba7e9cc3c221ab9062ddac4a0 (diff)
downloadsrc-e3e1c0a5de4b6c7d51c0282b9378427383134aa9.tar.gz
src-e3e1c0a5de4b6c7d51c0282b9378427383134aa9.zip
Vendor import of less v563.vendor/less/v563
Notes
Notes: svn path=/vendor/less/dist/; revision=366990 svn path=/vendor/less/v563/; revision=366991; tag=vendor/less/v563
Diffstat (limited to 'cmdbuf.c')
-rw-r--r--cmdbuf.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/cmdbuf.c b/cmdbuf.c
index 0648aecb7075..ed78ded00307 100644
--- a/cmdbuf.c
+++ b/cmdbuf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2019 Mark Nudelman
+ * Copyright (C) 1984-2020 Mark Nudelman
*
* You may distribute under the terms of either the GNU General Public
* License or the Less License, as specified in the README file.
@@ -34,7 +34,7 @@ static int literal; /* Next input char should not be interpreted */
static int updown_match = -1; /* Prefix length in up/down movement */
#if TAB_COMPLETE_FILENAME
-static int cmd_complete();
+static int cmd_complete LESSPARAMS((int action));
/*
* These variables are statics used by cmd_complete.
*/
@@ -960,10 +960,7 @@ cmd_istr(str)
step_char(&s, +1, endline);
action = cmd_ichar(os, s - os);
if (action != CC_OK)
- {
- bell();
return (action);
- }
}
return (CC_OK);
}