aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/diff.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-11-26 18:58:45 +0100
committerGitHub <noreply@github.com>2022-11-26 18:58:45 +0100
commit019c8805e514428c0b999583f5aec8c9f4eb96d0 (patch)
tree1a105862628c997b46725b4f3f485bd074332cce /src/nvim/diff.c
parent319fbffc94896dd9cf0a77891d69b7fcada1fad4 (diff)
parentbd22585061b66d7f71d4832b4a81e950b3c9d19d (diff)
downloadrneovim-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/diff.c')
-rw-r--r--src/nvim/diff.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/diff.c b/src/nvim/diff.c
index 121b98d047..c28eecc76a 100644
--- a/src/nvim/diff.c
+++ b/src/nvim/diff.c
@@ -1215,8 +1215,7 @@ void ex_diffpatch(exarg_T *eap)
#ifdef UNIX
// Get the absolute path of the patchfile, changing directory below.
fullname = FullName_save(eap->arg, false);
- esc_name =
- (char *)vim_strsave_shellescape((char_u *)(fullname != NULL ? fullname : eap->arg), true, true);
+ esc_name = vim_strsave_shellescape(fullname != NULL ? fullname : eap->arg, true, true);
#else
esc_name = (char *)vim_strsave_shellescape(eap->arg, true, true);
#endif