mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +00:00
Revert "fix: mdx headword total count is incorrect"
This reverts commit 66ec6b6d63
.
This commit is contained in:
parent
3e33576c72
commit
1072adfad9
4
mdx.cc
4
mdx.cc
|
@ -1603,8 +1603,8 @@ vector< sptr< Dictionary::Class > > makeDictionaries( vector< string > const & f
|
|||
idxHeader.formatVersion = kCurrentFormatVersion;
|
||||
idxHeader.parserVersion = MdictParser::kParserVersion;
|
||||
idxHeader.foldingVersion = Folding::Version;
|
||||
idxHeader.articleCount = indexedWords.size();
|
||||
idxHeader.wordCount = indexedWords.size();
|
||||
idxHeader.articleCount = parser.wordCount();
|
||||
idxHeader.wordCount = parser.wordCount();
|
||||
|
||||
idx.rewind();
|
||||
idx.write( &idxHeader, sizeof( idxHeader ) );
|
||||
|
|
Loading…
Reference in a new issue