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.
diff --git a/src/userfunc.c b/src/userfunc.c
index f79e4cd..d4d28c5 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -180,7 +180,7 @@
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)