mirror of https://gitlab.com/basile.b/dexed.git
fix #22, hang with some rel paths in DUB projs
This commit is contained in:
parent
166bca0f14
commit
1d3c14c000
|
@ -615,10 +615,10 @@ begin
|
|||
for i := 0 to arr.Count-1 do
|
||||
begin
|
||||
pth := TrimRightSet(arr.Strings[i], ['/','\']);
|
||||
if pth.dirExists then
|
||||
if pth.dirExists and FilenameIsAbsolute(pth) then
|
||||
tryAddFromFolder(pth)
|
||||
else
|
||||
tryAddFromFolder(fBasePath + pth);
|
||||
tryAddFromFolder(expandFilenameEx(fBasePath, pth));
|
||||
end;
|
||||
end;
|
||||
// custom files
|
||||
|
@ -643,10 +643,10 @@ begin
|
|||
for i := 0 to arr.Count-1 do
|
||||
begin
|
||||
pth := TrimRightSet(arr.Strings[i], ['/','\']);
|
||||
if pth.dirExists then
|
||||
if pth.dirExists and FilenameIsAbsolute(pth) then
|
||||
tryAddFromFolder(pth)
|
||||
else
|
||||
tryAddFromFolder(fBasePath + pth);
|
||||
tryAddFromFolder(expandFilenameEx(fBasePath, pth));
|
||||
end;
|
||||
end;
|
||||
// custom files in current config
|
||||
|
|
Loading…
Reference in New Issue