mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
opt: the address maybe not ordered
should not use equal( == ) comparision
This commit is contained in:
parent
9c5e25971b
commit
df594e0108
|
@ -116,8 +116,9 @@ void makeFTSIndex( BtreeIndexing::BtreeDictionary * dict, QAtomicInt & isCancell
|
|||
for ( auto const & address : offsets ) {
|
||||
indexedDoc++;
|
||||
|
||||
if ( address > lastAddress && skip ) {
|
||||
if ( address == lastAddress && skip ) {
|
||||
skip = false;
|
||||
continue;
|
||||
}
|
||||
//skip until to the lastAddress;
|
||||
if ( skip ) {
|
||||
|
|
Loading…
Reference in a new issue