diff options
| author | dundargoc <gocdundar@gmail.com> | 2022-11-26 18:57:46 +0100 | 
|---|---|---|
| committer | dundargoc <gocdundar@gmail.com> | 2022-11-28 14:53:35 +0100 | 
| commit | 3b96ccf7d35be90e49029dec76344d3d92ad91dc (patch) | |
| tree | f4768eb7d7be52402ccd55e3e4e04aecceab3e42 /src/nvim/context.c | |
| parent | b2bb3973d9c7f25acfead2718d74fcf5b1e4551e (diff) | |
| download | rneovim-3b96ccf7d35be90e49029dec76344d3d92ad91dc.tar.gz rneovim-3b96ccf7d35be90e49029dec76344d3d92ad91dc.tar.bz2 rneovim-3b96ccf7d35be90e49029dec76344d3d92ad91dc.zip  | |
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
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)) {  | 
