diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-12 09:51:00 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-12 11:49:32 +0800 |
commit | 189db2b759b48d7e10dc0d092ba62141e7eca39e (patch) | |
tree | 13104daf766d1e604ab982828a0cff116346c752 /src/nvim/ex_getln.c | |
parent | 034d28c705ccb93dea27613cbf91ba3f9c1caaa7 (diff) | |
download | rneovim-189db2b759b48d7e10dc0d092ba62141e7eca39e.tar.gz rneovim-189db2b759b48d7e10dc0d092ba62141e7eca39e.tar.bz2 rneovim-189db2b759b48d7e10dc0d092ba62141e7eca39e.zip |
fix(cmdline): fix passing -1 as char
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index a5783f4ced..92c9d83045 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -2646,7 +2646,7 @@ char_u *getcmdline(int firstc, long count, int indent, bool do_concat FUNC_ATTR_ /// @param[in] highlight_callback Callback used for highlighting user input. /// /// @return [allocated] Command line or NULL. -char *getcmdline_prompt(const char firstc, const char *const prompt, const int attr, +char *getcmdline_prompt(const int firstc, const char *const prompt, const int attr, const int xp_context, const char *const xp_arg, const Callback highlight_callback) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_MALLOC |