diff options
author | ZyX <kp-pav@yandex.ru> | 2015-10-29 01:14:01 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2015-10-29 19:34:25 +0300 |
commit | d99941777dbaca1719223961174df5e01b1ac444 (patch) | |
tree | df807de77a8f96acfed19936a3b7eb962b653365 /src/nvim/memline.c | |
parent | 1af15494c25d1cba9e4da058fc3b958d27d3f890 (diff) | |
download | rneovim-d99941777dbaca1719223961174df5e01b1ac444.tar.gz rneovim-d99941777dbaca1719223961174df5e01b1ac444.tar.bz2 rneovim-d99941777dbaca1719223961174df5e01b1ac444.zip |
undo: Do some refactoring
Specifically refactor u_get_undo_file_name which will be modified to
automatically create undo directory and replace `char_u` with `char` in some of
the related functions.
Diffstat (limited to 'src/nvim/memline.c')
-rw-r--r-- | src/nvim/memline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c index dbb24e67a1..85f545f960 100644 --- a/src/nvim/memline.c +++ b/src/nvim/memline.c @@ -2990,7 +2990,7 @@ static void ml_lineadd(buf_T *buf, int count) * If it worked returns OK and the resolved link in "buf[MAXPATHL]". * Otherwise returns FAIL. */ -int resolve_symlink(char_u *fname, char_u *buf) +int resolve_symlink(const char_u *fname, char_u *buf) { char_u tmp[MAXPATHL]; int ret; |