Fix bug 60671

This commit is contained in:
Alexey
2023-01-19 18:01:40 +03:00
parent 8e15985b83
commit 1911f11e51

View File

@ -776,8 +776,15 @@ DWORD CConverter::ThreadProc()
}
o_xml_file.WriteStringUTF8(xml_params, true);
o_xml_file.CloseFile();
#ifdef WIN32
// x2t cannot work with normalized paths in xml
if(xml_params_file.find_first_of(L"\\?\\\\") != std::wstring::npos)
xml_params_file.erase(0, 4);
#endif // WIN32
int exit_code = NSX2T::Convert(NSFile::GetDirectoryName(m_x2tPath), xml_params_file);
bool exist;