forked from aniani/vim
patch 8.2.3824: no ASAN support for MSVC
Problem: No ASAN support for MSVC. Solution: Add ASAN support and fix a coupld of uncovered problems. (Yegappan Lakshmanan, closes #9357)
This commit is contained in:
committed by
Bram Moolenaar
parent
6ecf58b0d7
commit
6df0f2759d
@@ -2653,7 +2653,7 @@ simplify_filename(char_u *filename)
|
||||
|
||||
p = filename;
|
||||
# ifdef BACKSLASH_IN_FILENAME
|
||||
if (p[1] == ':') // skip "x:"
|
||||
if (p[0] != NUL && p[1] == ':') // skip "x:"
|
||||
p += 2;
|
||||
# endif
|
||||
|
||||
|
Reference in New Issue
Block a user