mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
Clean-up main.c: follow STRNICMP replacement.
This commit is contained in:
committed by
Thiago de Arruda
parent
a90c5aa2fc
commit
8917bf25bc
@ -933,7 +933,7 @@ static void parse_command_name(mparm_T *parmp)
|
||||
|
||||
set_vim_var_string(VV_PROGNAME, initstr, -1);
|
||||
|
||||
if (STRNICMP(initstr, "editor", 6) == 0)
|
||||
if (parse_string(&initstr, "editor", 6))
|
||||
return;
|
||||
|
||||
if (parse_char_i(&initstr, 'r'))
|
||||
|
Reference in New Issue
Block a user