Merge pull request #3788 from sethjackson/command-line-execute

Fix Windows code in command_line_execute()
This commit is contained in:
Justin M. Keyes 2015-12-05 14:31:46 -05:00
commit e29f0bbf64

View File

@ -571,7 +571,7 @@ static int command_line_execute(VimState *state, int key)
}
if (vim_ispathsep(ccline.cmdbuff[s->j])
#ifdef BACKSLASH_IN_FILENAME
&& vim_strchr(" *?[{`$%#", ccline.cmdbuff[j + 1])
&& vim_strchr(" *?[{`$%#", ccline.cmdbuff[s->j + 1])
== NULL
#endif
) {