mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ex_getln: fix pvs/v781
This commit is contained in:
parent
23dbe73585
commit
251177b63b
@ -3575,7 +3575,7 @@ static int ccheck_abbr(int c)
|
||||
|
||||
// Do not consider '<,'> be part of the mapping, skip leading whitespace.
|
||||
// Actually accepts any mark.
|
||||
while (ascii_iswhite(ccline.cmdbuff[spos]) && spos < ccline.cmdlen) {
|
||||
while (spos < ccline.cmdlen && ascii_iswhite(ccline.cmdbuff[spos])) {
|
||||
spos++;
|
||||
}
|
||||
if (ccline.cmdlen - spos > 5
|
||||
|
Loading…
Reference in New Issue
Block a user