diff options
-rw-r--r-- | src/storage/facade_phrase_table2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/facade_phrase_table2.h b/src/storage/facade_phrase_table2.h index f935ca6..a6e8bdc 100644 --- a/src/storage/facade_phrase_table2.h +++ b/src/storage/facade_phrase_table2.h @@ -100,8 +100,8 @@ public: /* out */ PhraseTokens tokens) const { /* clear ranges. */ for (size_t i = 0; i < PHRASE_INDEX_LIBRARY_COUNT; ++i) { - if (ranges[i]) - g_array_set_size(ranges[i], 0); + if (tokens[i]) + g_array_set_size(tokens[i], 0); } int result = SEARCH_NONE; |