forked from aniani/vim
Make :find completion work better with the DJGPP build. (Nazri Ramliy)
This commit is contained in:
@@ -5040,7 +5040,7 @@ globpath(path, file, expand_options)
|
||||
copy_option_part(&path, buf, MAXPATHL, ",");
|
||||
if (STRLEN(buf) + STRLEN(file) + 2 < MAXPATHL)
|
||||
{
|
||||
# ifdef WIN3264
|
||||
# if defined(MSWIN) || defined(MSDOS)
|
||||
/* Using the platform's path separator (\) makes vim incorrectly
|
||||
* treat it as an escape character, use '/' instead. */
|
||||
if (*buf != NUL && !after_pathsep(buf, buf + STRLEN(buf)))
|
||||
|
Reference in New Issue
Block a user