mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
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.
This commit is contained in:
@@ -4388,7 +4388,7 @@ nv_search(cmdarg_T *cap)
|
||||
|
||||
// When using 'incsearch' the cursor may be moved to set a different search
|
||||
// start position.
|
||||
cap->searchbuf = getcmdline(cap->cmdchar, cap->count1, 0, TRUE);
|
||||
cap->searchbuf = getcmdline(cap->cmdchar, cap->count1, 0, 0);
|
||||
|
||||
if (cap->searchbuf == NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user