Wrong path was being used for replacement

This commit is contained in:
Matt Nadareski
2016-05-20 23:21:07 -07:00
parent 8b196db721
commit 8790e2ef94

View File

@@ -267,7 +267,7 @@ namespace SabreTools
string outdir = "";
if (_outdir != "")
{
outdir = _outdir + Path.GetDirectoryName(filename).Remove(0, filename.Length);
outdir = _outdir + Path.GetDirectoryName(filename).Remove(0, basepath.Length);
}
else
{