Merge pull request #975 from AtomicWalrus/ProjectImporterFilenameDotSlashFix

Project importer: Fix handling of filenames starting with ./
This commit is contained in:
Brian Roberts 2023-02-26 17:01:40 -06:00 committed by GitHub
commit 39b9b47caf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -863,6 +863,7 @@ function sanitizeFilename(%file)
%targetFilename = %targetPath @ "/" @ %targetName @ %targetExt;
}
%targetFilename = strReplace(%targetFilename, "//", "/");
/*if(!isFile(%targetFilename))
{
%bitmapFile = %targetPath @ "/" @ %targetName @ "_n" @ %targetExt;