Mercurial > vim
diff src/userfunc.c @ 26804:34f1b7d6974a
patch 8.2.3930: getcmdline() argument has a misleading type
Commit: https://github.com/vim/vim/commit/c97f9a55bd020b94d92c392516d763ed5e43d872
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 28 20:59:56 2021 +0000
patch 8.2.3930: getcmdline() argument has a misleading type
Problem: getcmdline() argument has a misleading type.
Solution: Use the correct type, even though the value is not used.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 28 Dec 2021 22:00:07 +0100 |
parents | e0ec45216f05 |
children | 434eaef2ac62 |
line wrap: on
line diff
--- a/src/userfunc.c +++ b/src/userfunc.c @@ -180,7 +180,7 @@ get_function_line( char_u *theline; if (eap->getline == NULL) - theline = getcmdline(':', 0L, indent, getline_options); + theline = getcmdline(':', 0L, indent, 0); else theline = eap->getline(':', eap->cookie, indent, getline_options); if (theline != NULL)