mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-16 17:49:21 +02:00
pastojs: fixed create relative paths without shared based directory
git-svn-id: trunk@42874 -
This commit is contained in:
parent
73ba1e6292
commit
f741c85283
@ -1810,7 +1810,7 @@ function TPas2jsFilesCache.TryCreateRelativePath(const Filename, BaseDirectory:
|
|||||||
UsePointDirectory: boolean; out RelPath: String): Boolean;
|
UsePointDirectory: boolean; out RelPath: String): Boolean;
|
||||||
begin
|
begin
|
||||||
Result:=Pas2jsFileUtils.TryCreateRelativePath(Filename, BaseDirectory,
|
Result:=Pas2jsFileUtils.TryCreateRelativePath(Filename, BaseDirectory,
|
||||||
UsePointDirectory, true, RelPath);
|
UsePointDirectory, false, RelPath);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TPas2jsFilesCache.FindIncludeFileName(const aFilename,
|
function TPas2jsFilesCache.FindIncludeFileName(const aFilename,
|
||||||
|
Loading…
Reference in New Issue
Block a user