mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +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 ) {
|
for ( auto const & address : offsets ) {
|
||||||
indexedDoc++;
|
indexedDoc++;
|
||||||
|
|
||||||
if ( address > lastAddress && skip ) {
|
if ( address == lastAddress && skip ) {
|
||||||
skip = false;
|
skip = false;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
//skip until to the lastAddress;
|
//skip until to the lastAddress;
|
||||||
if ( skip ) {
|
if ( skip ) {
|
||||||
|
|
Loading…
Reference in a new issue