aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/command.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-09-12 21:50:31 +0200
committerGitHub <noreply@github.com>2022-09-12 21:50:31 +0200
commitf6232e160b96e2607edcd5afa7207a1e4aadf805 (patch)
tree41fa053ec7eff6b7edd278ec892392896f984722 /src/nvim/api/command.c
parentfd70e2bff2440181f63fe124738cf2a025d1e6a5 (diff)
parent3ff46544c9872b4161fd098569c30b55fe3abd36 (diff)
downloadrneovim-f6232e160b96e2607edcd5afa7207a1e4aadf805.tar.gz
rneovim-f6232e160b96e2607edcd5afa7207a1e4aadf805.tar.bz2
rneovim-f6232e160b96e2607edcd5afa7207a1e4aadf805.zip
Merge pull request #20077 from dundargoc/refactor/char_u/11
refactor: replace char_u with char 11: remove `STRLEN` part 1
Diffstat (limited to 'src/nvim/api/command.c')
-rw-r--r--src/nvim/api/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/command.c b/src/nvim/api/command.c
index b3518f1b0f..ed0907e8f8 100644
--- a/src/nvim/api/command.c
+++ b/src/nvim/api/command.c
@@ -105,7 +105,7 @@ Dictionary nvim_parse_cmd(String str, Dictionary opts, Error *err)
// Parse arguments
Array args = ARRAY_DICT_INIT;
- size_t length = STRLEN(ea.arg);
+ size_t length = strlen(ea.arg);
// For nargs = 1 or '?', pass the entire argument list as a single argument,
// otherwise split arguments by whitespace.