mirror of
https://github.com/neovim/neovim.git
synced 2025-11-20 01:01:22 +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);
|
set_vim_var_string(VV_PROGNAME, initstr, -1);
|
||||||
|
|
||||||
if (STRNICMP(initstr, "editor", 6) == 0)
|
if (parse_string(&initstr, "editor", 6))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (parse_char_i(&initstr, 'r'))
|
if (parse_char_i(&initstr, 'r'))
|
||||||
|
|||||||
Reference in New Issue
Block a user