window: Skip backslash only if followed by space

This commit is contained in:
Jurica Bradaric 2016-01-22 21:06:20 +01:00
parent 34904efd9d
commit ce17037e3e

View File

@ -4918,7 +4918,7 @@ file_name_in_line (
len = 0;
while (vim_isfilec(ptr[len]) || (ptr[len] == '\\' && ptr[len + 1] == ' ')
|| ((options & FNAME_HYP) && path_is_url((char *)ptr + len))) {
if (ptr[len] == '\\') {
if (ptr[len] == '\\' && ptr[len + 1] == ' ') {
// Skip over the "\" in "\ ".
++len;
}