2
0
Эх сурвалжийг харах

pastojs: fixed create relative paths without shared based directory

git-svn-id: trunk@42874 -
Mattias Gaertner 6 жил өмнө
parent
commit
f741c85283

+ 1 - 1
packages/pastojs/src/pas2jsfilecache.pp

@@ -1810,7 +1810,7 @@ function TPas2jsFilesCache.TryCreateRelativePath(const Filename, BaseDirectory:
   UsePointDirectory: boolean; out RelPath: String): Boolean;
 begin
   Result:=Pas2jsFileUtils.TryCreateRelativePath(Filename, BaseDirectory,
-    UsePointDirectory, true, RelPath);
+    UsePointDirectory, false, RelPath);
 end;
 
 function TPas2jsFilesCache.FindIncludeFileName(const aFilename,