diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pinyin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pinyin.cpp b/src/pinyin.cpp index eb3dde0..5cd9945 100644 --- a/src/pinyin.cpp +++ b/src/pinyin.cpp @@ -572,7 +572,7 @@ static void _append_items(pinyin_context_t * context, lookup_candidate_t * template_item, CandidateVector items) { /* reduce and append to a single GArray. */ - for (size_t m = 0; m <= PHRASE_INDEX_LIBRARY_COUNT; ++m) { + for (size_t m = 0; m < PHRASE_INDEX_LIBRARY_COUNT; ++m) { if (NULL == ranges[m]) continue; |