mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 10:39:29 +02:00
pastojs: fixed compile under windows
git-svn-id: trunk@40046 -
This commit is contained in:
parent
75e6356e02
commit
70a21c91c1
@ -277,7 +277,7 @@ var
|
||||
{$endif}
|
||||
CurDir, Fn: String;
|
||||
begin
|
||||
//writeln('LazFileUtils.ExpandFileNameUtf8');
|
||||
//writeln('LazFileUtils.ExpandFileNamePJ');
|
||||
//writeln('FileName = "',FileName,'"');
|
||||
//writeln('BaseDir = "',BaseDir,'"');
|
||||
|
||||
@ -372,7 +372,7 @@ begin
|
||||
Fn := ResolveDots(Fn);
|
||||
//if BaseDir is something like 'z:foo\' or '\' then this needs to be expanded as well
|
||||
if not FileNameIsAbsolute(Fn) then
|
||||
Fn := ExpandFileNameUtf8(Fn, '');
|
||||
Fn := ExpandFileNamePJ(Fn, '');
|
||||
Result := Fn;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user