aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Abreu Ferreira <raf-ep@gmx.com>2016-01-09 00:58:52 +0000
committerJustin M. Keyes <justinkz@gmail.com>2016-01-10 01:38:09 -0500
commit57cfb95758d8a7a86c7f7751373ad0b5b1ce09f8 (patch)
treef526f97dcbe6a87684797d5a7db5a27796f74325
parentc6e481cba559d35891f20ef4ac9ca6a41bdcdbd3 (diff)
downloadrneovim-57cfb95758d8a7a86c7f7751373ad0b5b1ce09f8.tar.gz
rneovim-57cfb95758d8a7a86c7f7751373ad0b5b1ce09f8.tar.bz2
rneovim-57cfb95758d8a7a86c7f7751373ad0b5b1ce09f8.zip
win32: Fix syntax error in #ifndef block. #3968
The block is only compiled if the system is NOT WIN32, but the closing parenthesis for the statement opened outside the block is closed inside the block.
-rw-r--r--src/nvim/path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c
index d689eaf8cb..23b22b67f1 100644
--- a/src/nvim/path.c
+++ b/src/nvim/path.c
@@ -581,9 +581,9 @@ static size_t do_path_expand(garray_T *gap, const char_u *path,
&& (vim_strchr((char_u *)"*?[{~$", *path_end) != NULL
#ifndef WIN32
|| (!p_fic && (flags & EW_ICASE)
- && isalpha(PTR2CHAR(path_end))))
+ && isalpha(PTR2CHAR(path_end)))
#endif
- ) {
+ )) {
e = p;
}
if (has_mbyte) {