Clear statistics page by page

This commit is contained in:
Oleg Korshul
2022-04-13 14:34:02 +03:00
parent e8ac0d8eb0
commit 868fd15f74
2 changed files with 10 additions and 0 deletions

View File

@ -235,6 +235,8 @@ namespace NSHtmlRenderer
m_pInternal->m_oPage.WriteLONG(m_pInternal->m_oSmartText.m_lCountSpaces);
// seek to end
m_pInternal->m_oPage.Seek(lPos);
m_pInternal->m_oSmartText.ClearStatistics();
return m_pInternal->m_oPage.GetData();
}