aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/shell.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-13 00:14:46 +0200
committerGitHub <noreply@github.com>2022-05-13 00:14:46 +0200
commitaf9c1e572dc1015b7b8f2a8a09d527f54ca080d3 (patch)
treea6e3279c3e56e24812644ffed88b7990a5e52244 /src/nvim/os/shell.c
parente2d3e73748f8dd4a6d7acbfda2d765d1a02dcfb8 (diff)
parent85aae12a6dea48621ea2d24a946b3e7b86f9014d (diff)
downloadrneovim-af9c1e572dc1015b7b8f2a8a09d527f54ca080d3.tar.gz
rneovim-af9c1e572dc1015b7b8f2a8a09d527f54ca080d3.tar.bz2
rneovim-af9c1e572dc1015b7b8f2a8a09d527f54ca080d3.zip
Merge pull request #18489 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/os/shell.c')
-rw-r--r--src/nvim/os/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c
index 79d24e41b0..34d9015071 100644
--- a/src/nvim/os/shell.c
+++ b/src/nvim/os/shell.c
@@ -188,7 +188,7 @@ int os_expand_wildcards(int num_pat, char_u **pat, int *num_file, char_u ***file
}
}
if (shell_style == STYLE_ECHO
- && strstr((char *)path_tail(p_sh), "sh") != NULL) {
+ && strstr(path_tail((char *)p_sh), "sh") != NULL) {
shell_style = STYLE_VIMGLOB;
}