diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-11-28 18:11:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-28 18:11:41 +0100 |
commit | ccd17543f32a892814c3d32eb5e979722b843da9 (patch) | |
tree | f4768eb7d7be52402ccd55e3e4e04aecceab3e42 /src/nvim/context.c | |
parent | b2bb3973d9c7f25acfead2718d74fcf5b1e4551e (diff) | |
parent | 3b96ccf7d35be90e49029dec76344d3d92ad91dc (diff) | |
download | rneovim-ccd17543f32a892814c3d32eb5e979722b843da9.tar.gz rneovim-ccd17543f32a892814c3d32eb5e979722b843da9.tar.bz2 rneovim-ccd17543f32a892814c3d32eb5e979722b843da9.zip |
Merge pull request #21200 from dundargoc/refactor/char_u/15
refactor: replace char_u with char 15 - remove STRNLEN and STRNCPY
Diffstat (limited to 'src/nvim/context.c')
-rw-r--r-- | src/nvim/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/context.c b/src/nvim/context.c index 47e60373bf..b064a92b74 100644 --- a/src/nvim/context.c +++ b/src/nvim/context.c @@ -264,7 +264,7 @@ static inline void ctx_save_funcs(Context *ctx, bool scriptonly) HASHTAB_ITER(func_tbl_get(), hi, { const char *const name = hi->hi_key; - bool islambda = (STRNCMP(name, "<lambda>", 8) == 0); + bool islambda = (strncmp(name, "<lambda>", 8) == 0); bool isscript = ((uint8_t)name[0] == K_SPECIAL); if (!islambda && (!scriptonly || isscript)) { |