From f741c8528368b2e96aa39d3038822622640818ad Mon Sep 17 00:00:00 2001 From: Mattias Gaertner Date: Fri, 30 Aug 2019 03:47:22 +0000 Subject: [PATCH] pastojs: fixed create relative paths without shared based directory git-svn-id: trunk@42874 - --- packages/pastojs/src/pas2jsfilecache.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pastojs/src/pas2jsfilecache.pp b/packages/pastojs/src/pas2jsfilecache.pp index bece958654..4af2bf9882 100644 --- a/packages/pastojs/src/pas2jsfilecache.pp +++ b/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,