This commit is contained in:
Kulikova Svetlana
2021-03-31 14:57:24 +03:00
parent 8d73d9e56e
commit 4bb783b0ce

View File

@ -270,7 +270,7 @@ HRESULT CEpubFile::FromHtml(const std::wstring& sHtmlFile, const std::wstring& s
// content.opf
NSFile::CFileBinary oContentOpf;
bool bWasLanguage = false;
std::wstring sTitle = L"Title";
std::wstring sTitle = NSFile::GetFileName(sDstFile);
std::wstring sUUID = GenerateUUID();
if (oContentOpf.CreateFileW(m_sTempDir + L"/OEBPS/content.opf"))
{