diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-28 20:59:56 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-28 20:59:56 +0000 |
commit | c97f9a55bd020b94d92c392516d763ed5e43d872 (patch) | |
tree | 463236716e49c8eb05bd8494034bc617924b2085 /src/ex_docmd.c | |
parent | 10c75c4a09a604ea674a2700aacb55914750b86d (diff) |
patch 8.2.3930: getcmdline() argument has a misleading typev8.2.3930
Problem: getcmdline() argument has a misleading type.
Solution: Use the correct type, even though the value is not used.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 20b24572ce..d4c725c6fc 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -1467,7 +1467,7 @@ get_loop_line(int c, void *cookie, int indent, getline_opt_T options) // First time inside the ":while"/":for": get line normally. if (cp->getline == NULL) - line = getcmdline(c, 0L, indent, options); + line = getcmdline(c, 0L, indent, 0); else line = cp->getline(c, cp->cookie, indent, options); if (line != NULL && store_loop_line(cp->lines_gap, line) == OK) |