aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDouglas Schneider <ds3@ualberta.ca>2014-05-26 17:09:02 -0600
committerJustin M. Keyes <justinkz@gmail.com>2014-06-13 18:08:21 -0400
commit2179a03111bddaddabba3520f1fe806c4c72689a (patch)
tree7a98616e705db12c74222422a02f1659cb31d382 /src
parent260c327fb5c6e1f64a30925bc96b1f6827513c89 (diff)
downloadrneovim-2179a03111bddaddabba3520f1fe806c4c72689a.tar.gz
rneovim-2179a03111bddaddabba3520f1fe806c4c72689a.tar.bz2
rneovim-2179a03111bddaddabba3520f1fe806c4c72689a.zip
Replace vim_strncpy calls: path.c
Diffstat (limited to 'src')
-rw-r--r--src/nvim/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c
index cbddde3434..a0859180c9 100644
--- a/src/nvim/path.c
+++ b/src/nvim/path.c
@@ -1534,7 +1534,7 @@ vim_FullName (
retval = path_get_absolute_path(fname, buf, len, force);
if (url || retval == FAIL) {
/* something failed; use the file name (truncate when too long) */
- vim_strncpy(buf, fname, len - 1);
+ STRLCPY(buf, fname, len);
}
return retval;
}