diff options
Diffstat (limited to 'src/nvim/os/env.c')
| -rw-r--r-- | src/nvim/os/env.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/env.c b/src/nvim/os/env.c index 727b10f7a7..e9f44d2775 100644 --- a/src/nvim/os/env.c +++ b/src/nvim/os/env.c @@ -1048,7 +1048,7 @@ size_t home_replace(const buf_T *const buf, const char_u *src, char_u *const dst } if (buf != NULL && buf->b_help) { - const size_t dlen = xstrlcpy((char *)dst, (char *)path_tail(src), dstlen); + const size_t dlen = STRLCPY(dst, path_tail(src), dstlen); return MIN(dlen, dstlen - 1); } |