mirror of https://gitlab.com/basile.b/dexed.git
fix, possible RT err if basepath does not exist
This commit is contained in:
parent
6da6698ff0
commit
8091356ba5
|
@ -393,7 +393,7 @@ begin
|
|||
curr := '';
|
||||
getDir(0, curr);
|
||||
try
|
||||
if curr <> aBasePath then
|
||||
if (curr <> aBasePath) and DirectoryExists(aBasePath) then
|
||||
chDir(aBasePath);
|
||||
result := expandFileName(aFilename);
|
||||
finally
|
||||
|
|
Loading…
Reference in New Issue