From 19a09b5f1b3c12cf5f34f02651b232140d50ff6b Mon Sep 17 00:00:00 2001 From: Xiao YiFang Date: Tue, 24 May 2022 21:03:25 +0800 Subject: [PATCH] fix:remove epwing headword size limitation --- epwing.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/epwing.cc b/epwing.cc index 9d67cd2d..cd5eec5c 100644 --- a/epwing.cc +++ b/epwing.cc @@ -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 ) );