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