diff options
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/phrase_index.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp index 57146cd..b851a72 100644 --- a/src/storage/phrase_index.cpp +++ b/src/storage/phrase_index.cpp @@ -629,7 +629,7 @@ int SubPhraseIndex::get_range(/* out */ PhraseIndexRange & range){ } range.m_range_begin = 1; /* token starts with 1 in gen_pinyin_table. */ - range.m_range_end = poffset - begin + 1; /* removed zeros. */ + range.m_range_end = poffset - begin; /* removed zeros. */ return ERROR_OK; } |