Mercurial > vim
comparison src/normal.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 | efe4c8a79502 |
children | aa65d1808bd0 |
comparison
equal
deleted
inserted
replaced
26803:90fea59d6307 | 26804:34f1b7d6974a |
---|---|
4386 return; | 4386 return; |
4387 } | 4387 } |
4388 | 4388 |
4389 // When using 'incsearch' the cursor may be moved to set a different search | 4389 // When using 'incsearch' the cursor may be moved to set a different search |
4390 // start position. | 4390 // start position. |
4391 cap->searchbuf = getcmdline(cap->cmdchar, cap->count1, 0, TRUE); | 4391 cap->searchbuf = getcmdline(cap->cmdchar, cap->count1, 0, 0); |
4392 | 4392 |
4393 if (cap->searchbuf == NULL) | 4393 if (cap->searchbuf == NULL) |
4394 { | 4394 { |
4395 clearop(oap); | 4395 clearop(oap); |
4396 return; | 4396 return; |