Explorar o código

pastojs: ExpandFileNamePJ for \\?\

git-svn-id: trunk@40047 -
Mattias Gaertner %!s(int64=7) %!d(string=hai) anos
pai
achega
06364845d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/pastojs/src/pas2jsfileutilswin.inc

+ 1 - 1
packages/pastojs/src/pas2jsfileutilswin.inc

@@ -287,7 +287,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