lazutils: fixed ExpandFileNameUTF8 for \\?\

git-svn-id: branches/fixes_2_0@59364 -
This commit is contained in:
mattias 2018-10-27 09:41:50 +00:00
parent 8ef8549968
commit 46a767dfc3

View File

@ -545,7 +545,7 @@ begin
//See: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx
if (Length(Fn) > 3) and (Fn[1] = PathDelim) and (Fn[2] = PathDelim) and
(Fn[3] = '?') and (Fn[4] = PathDelim) //Do NOT use AllowDirectorySeparators here!
then Exit;
then Exit(Fn);
ForcePathDelims(Fn);
IsAbs := FileNameIsWinAbsolute(Fn);
if not IsAbs then