diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-01-11 17:35:36 -0500 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-01-28 13:58:53 -0500 |
commit | 273c7cfa2a01430411ce4c58c354e42337c6e6a7 (patch) | |
tree | 93b459586c7c01139f69e8ed6621e9b8956996c0 | |
parent | 534abe4aafc2fb75a100c6193a8fdf5bfa0838dc (diff) | |
download | rneovim-273c7cfa2a01430411ce4c58c354e42337c6e6a7.tar.gz rneovim-273c7cfa2a01430411ce4c58c354e42337c6e6a7.tar.bz2 rneovim-273c7cfa2a01430411ce4c58c354e42337c6e6a7.zip |
fixup: lint errors
-rw-r--r-- | src/nvim/path.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index d8f5163ed0..21ac064c30 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -2204,7 +2204,9 @@ static int path_get_absolute_path(const char_u *fname, char_u *buf, if (force || !path_is_absolute_path(fname)) { p = vim_strrchr(fname, '/'); #ifdef WIN32 - if (p == NULL) p = vim_strrchr(fname, '\\'); + if (p == NULL) { + p = vim_strrchr(fname, '\\'); + } #endif if (p != NULL) { // relative to root |