fixed directory path
This commit is contained in:
parent
e81c993675
commit
ae68910f97
@ -13,10 +13,13 @@ namespace fmtxml
|
||||
public RtfToSvg(string rtfFileName)
|
||||
{
|
||||
RtfFileName = rtfFileName;
|
||||
_FormatFolder = RtfFile.Directory;
|
||||
}
|
||||
private static DirectoryInfo _FormatFolder;
|
||||
public RtfToSvg(FileInfo rtfFile)
|
||||
{
|
||||
RtfFile = rtfFile;
|
||||
_FormatFolder = RtfFile.Directory;
|
||||
}
|
||||
private bool? _IsGenMac;
|
||||
public bool IsGenMac
|
||||
@ -283,7 +286,7 @@ namespace fmtxml
|
||||
}
|
||||
private static string FixFileName(string fileName)
|
||||
{
|
||||
return Regex.Replace(fileName, @"^.*FORMAT\\", @"E:\VE-PROMS\FORMAT\");
|
||||
return Regex.Replace(fileName, @"^.*FORMAT\\", _FormatFolder.FullName + @"\");
|
||||
}
|
||||
private static string FixXmlText(string str)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user