0
0
mirror of https://github.com/vim/vim.git synced 2025-10-14 07:04:10 -04:00

patch 8.2.1168: wrong method argument for appendbufline()

Problem:    Wrong method argument for appendbufline().
Solution:   Use FEARG_3.
This commit is contained in:
Bram Moolenaar
2020-07-09 22:53:30 +02:00
parent 389df259c4
commit 92053ce59e
2 changed files with 3 additions and 1 deletions

View File

@@ -466,7 +466,7 @@ static funcentry_T global_functions[] =
{"add", 2, 2, FEARG_1, ret_first_arg, f_add}, {"add", 2, 2, FEARG_1, ret_first_arg, f_add},
{"and", 2, 2, FEARG_1, ret_number, f_and}, {"and", 2, 2, FEARG_1, ret_number, f_and},
{"append", 2, 2, FEARG_2, ret_number, f_append}, {"append", 2, 2, FEARG_2, ret_number, f_append},
{"appendbufline", 3, 3, FEARG_2, ret_number, f_appendbufline}, {"appendbufline", 3, 3, FEARG_3, ret_number, f_appendbufline},
{"argc", 0, 1, 0, ret_number, f_argc}, {"argc", 0, 1, 0, ret_number, f_argc},
{"argidx", 0, 0, 0, ret_number, f_argidx}, {"argidx", 0, 0, 0, ret_number, f_argidx},
{"arglistid", 0, 2, 0, ret_number, f_arglistid}, {"arglistid", 0, 2, 0, ret_number, f_arglistid},

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1168,
/**/ /**/
1167, 1167,
/**/ /**/