diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-06 17:53:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-06 17:53:31 +0200 |
commit | 4535654246936de13eafd4e049b0a1991521fba4 (patch) | |
tree | 4857ffd7c20ee9d1261b4832e772209aeee326e7 /src/evalfunc.c | |
parent | e16b00a1582dbff7b76b0631d935531059cf7b47 (diff) | |
download | vim-4535654246936de13eafd4e049b0a1991521fba4.zip |
patch 8.0.0882: term_scrape() and term_getline() require two arguments
Problem: term_scrape() and term_getline() require two arguments but it is
not enforced.
Solution: Correct minimal number of arguments. (Hirohito Higashi) Update
documentation. (Ken Takata)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index aa8b140a1..fde20584d 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -834,13 +834,13 @@ static struct fst {"term_getattr", 2, 2, f_term_getattr}, {"term_getcursor", 1, 1, f_term_getcursor}, {"term_getjob", 1, 1, f_term_getjob}, - {"term_getline", 1, 2, f_term_getline}, + {"term_getline", 2, 2, f_term_getline}, {"term_getsize", 1, 1, f_term_getsize}, {"term_getstatus", 1, 1, f_term_getstatus}, {"term_gettitle", 1, 1, f_term_gettitle}, {"term_gettty", 1, 1, f_term_gettty}, {"term_list", 0, 0, f_term_list}, - {"term_scrape", 1, 2, f_term_scrape}, + {"term_scrape", 2, 2, f_term_scrape}, {"term_sendkeys", 2, 2, f_term_sendkeys}, {"term_start", 1, 2, f_term_start}, {"term_wait", 1, 1, f_term_wait}, |