diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-05-04 17:34:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 17:34:25 +0200 |
commit | 4f17e7e1c38e53eb214fd85cde1cbbe332e86498 (patch) | |
tree | 3a1457be276d95ffccbb760e79c708ab11b2cd54 /src/nvim/path.c | |
parent | 3ec93ca92cb08faed342586e86a6f21b35264376 (diff) | |
parent | 5576d30e89153c817fb1a8d23c30cfc0432bc7c6 (diff) | |
download | rneovim-4f17e7e1c38e53eb214fd85cde1cbbe332e86498.tar.gz rneovim-4f17e7e1c38e53eb214fd85cde1cbbe332e86498.tar.bz2 rneovim-4f17e7e1c38e53eb214fd85cde1cbbe332e86498.zip |
Merge pull request #18387 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r-- | src/nvim/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index bf394ec9ab..4cbe6ebcf5 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -503,7 +503,7 @@ char *save_abs_path(const char *name) if (!path_is_absolute((char_u *)name)) { return FullName_save(name, true); } - return (char *)vim_strsave((char_u *)name); + return xstrdup(name); } /// Checks if a path has a wildcard character including '~', unless at the end. |