diff options
author | Xin LI <delphij@FreeBSD.org> | 2020-10-24 05:25:54 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2020-10-24 05:25:54 +0000 |
commit | e3e1c0a5de4b6c7d51c0282b9378427383134aa9 (patch) | |
tree | d1180166250393879730fe69e09432a8195b537a /cmdbuf.c | |
parent | 6aa86b45318b321ba7e9cc3c221ab9062ddac4a0 (diff) | |
download | src-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.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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); } |