fix:remove epwing headword size limitation

This commit is contained in:
Xiao YiFang 2022-05-24 21:03:25 +08:00
parent fe544130df
commit 19a09b5f1b

View file

@ -1054,8 +1054,7 @@ vector< sptr< Dictionary::Class > > makeDictionaries(
for( ; ; )
{
//skip too long headword
if( !head.headword.isEmpty() && head.headword.size() < 30 )
if( !head.headword.isEmpty() )
{
uint32_t offset = chunks.startNewBlock();
chunks.addToBlock( &head.page, sizeof( head.page ) );