mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
eval: Do not supply S_LEN to strncmp
It may be a macro as well.
This commit is contained in:
parent
8daf756fb6
commit
29bad04f9e
@ -7967,7 +7967,7 @@ static void f_execute(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
if (s == NULL) {
|
||||
return;
|
||||
}
|
||||
if (strncmp(s, S_LEN("silent")) == 0) {
|
||||
if (strncmp(s, "silent", 6) == 0) {
|
||||
msg_silent++;
|
||||
}
|
||||
if (strcmp(s, "silent!") == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user