diff options
Diffstat (limited to 'src/nvim/os/stdpaths.c')
-rw-r--r-- | src/nvim/os/stdpaths.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/os/stdpaths.c b/src/nvim/os/stdpaths.c index 8a8f43cb8a..81ceb919c4 100644 --- a/src/nvim/os/stdpaths.c +++ b/src/nvim/os/stdpaths.c @@ -75,7 +75,8 @@ static char *get_xdg_home(const XDGVarType idx) char *dir = stdpaths_get_xdg_var(idx); if (dir) { #if defined(WIN32) - dir = concat_fnames_realloc(dir, (idx == kXDGDataHome ? "nvim-data" : "nvim"), + dir = concat_fnames_realloc(dir, + (idx == kXDGDataHome ? "nvim-data" : "nvim"), true); #else dir = concat_fnames_realloc(dir, "nvim", true); |