summaryrefslogtreecommitdiff
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-06 17:53:31 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-06 17:53:31 +0200
commit4535654246936de13eafd4e049b0a1991521fba4 (patch)
tree4857ffd7c20ee9d1261b4832e772209aeee326e7 /src/evalfunc.c
parente16b00a1582dbff7b76b0631d935531059cf7b47 (diff)
downloadvim-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.c4
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},