Browse Source

pastojs: fixed create relative paths without shared based directory

git-svn-id: trunk@42874 -
Mattias Gaertner 6 years ago
parent
commit
f741c85283
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/pastojs/src/pas2jsfilecache.pp

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