diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-11-26 18:58:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-26 18:58:45 +0100 |
commit | 019c8805e514428c0b999583f5aec8c9f4eb96d0 (patch) | |
tree | 1a105862628c997b46725b4f3f485bd074332cce /src/nvim/runtime.c | |
parent | 319fbffc94896dd9cf0a77891d69b7fcada1fad4 (diff) | |
parent | bd22585061b66d7f71d4832b4a81e950b3c9d19d (diff) | |
download | rneovim-019c8805e514428c0b999583f5aec8c9f4eb96d0.tar.gz rneovim-019c8805e514428c0b999583f5aec8c9f4eb96d0.tar.bz2 rneovim-019c8805e514428c0b999583f5aec8c9f4eb96d0.zip |
Merge pull request #20196 from dundargoc/refactor/char_u/14
refactor: replace char_u with char 14: remove `STRLEN` part final
Diffstat (limited to 'src/nvim/runtime.c')
-rw-r--r-- | src/nvim/runtime.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c index 8fafe4b6b9..659e34f27a 100644 --- a/src/nvim/runtime.c +++ b/src/nvim/runtime.c @@ -105,8 +105,7 @@ estack_T *estack_push(etype_T type, char *name, linenr_T lnum) void estack_push_ufunc(ufunc_T *ufunc, linenr_T lnum) { estack_T *entry = estack_push(ETYPE_UFUNC, - (char *)(ufunc->uf_name_exp != NULL - ? ufunc->uf_name_exp : ufunc->uf_name), + ufunc->uf_name_exp != NULL ? (char *)ufunc->uf_name_exp : ufunc->uf_name, lnum); if (entry != NULL) { entry->es_info.ufunc = ufunc; |