Fix handling of filenames starting with ./

Restores a line for removing double slashes that got caught in a comment block
This commit is contained in:
AtomicWalrus 2023-02-26 16:00:09 -07:00
parent a51bccf222
commit 50acaec19c

View file

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