mirror of
https://github.com/neovim/neovim.git
synced 2025-12-12 01:22:41 +00:00
refactor: replace '\0' with NUL
This commit is contained in:
committed by
Lewis Russell
parent
2f5b8a0092
commit
a18982cb83
@@ -4118,7 +4118,7 @@ static char *getargcmd(char **argp)
|
||||
|
||||
if (*arg == '+') { // +[command]
|
||||
arg++;
|
||||
if (ascii_isspace(*arg) || *arg == '\0') {
|
||||
if (ascii_isspace(*arg) || *arg == NUL) {
|
||||
command = dollar_command;
|
||||
} else {
|
||||
command = arg;
|
||||
|
||||
Reference in New Issue
Block a user