diff options
author | delphij <delphij@FreeBSD.org> | 2016-01-18 19:13:54 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2016-01-18 19:13:54 +0000 |
commit | fa1e90c82bb54806d86166769a4547bf68c3e727 (patch) | |
tree | fb469219be6a56d727e63953151fbca9a019057d /contrib/less/lesskey.c | |
parent | 119cebf8a0b980468f7ed411c651dd92ff2a0a88 (diff) | |
download | FreeBSD-src-fa1e90c82bb54806d86166769a4547bf68c3e727.zip FreeBSD-src-fa1e90c82bb54806d86166769a4547bf68c3e727.tar.gz |
MFC r293190: MFV r293125: less v481.
Relnotes: yes
Diffstat (limited to 'contrib/less/lesskey.c')
-rw-r--r-- | contrib/less/lesskey.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/less/lesskey.c b/contrib/less/lesskey.c index 3d7571e..298748b 100644 --- a/contrib/less/lesskey.c +++ b/contrib/less/lesskey.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1984-2012 Mark Nudelman + * Copyright (C) 1984-2015 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. @@ -120,6 +120,7 @@ struct cmdname cmdnames[] = { "forw-search", A_F_SEARCH }, { "forw-window", A_F_WINDOW }, { "goto-end", A_GOEND }, + { "goto-end-buffered", A_GOEND_BUF }, { "goto-line", A_GOLINE }, { "goto-mark", A_GOMARK }, { "help", A_HELP }, @@ -647,7 +648,7 @@ parse_cmdline(p) do { s = tstr(&p, 1); - cmdlen += strlen(s); + cmdlen += (int) strlen(s); if (cmdlen > MAX_CMDLEN) error("command too long"); else |