diff options
| author | Peng Wu <alexepico@gmail.com> | 2016-06-06 14:56:45 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2016-06-06 14:57:54 +0800 |
| commit | befc08764559cdc1939463f9dfac5b7a7f97c81a (patch) | |
| tree | bd17119de8ffba092b4683edbd8bd8a26f97ff7b /src/lookup | |
| parent | cee5f04690465d99b05313add946beceed2a31f2 (diff) | |
| download | libpinyin-befc08764559cdc1939463f9dfac5b7a7f97c81a.tar.gz libpinyin-befc08764559cdc1939463f9dfac5b7a7f97c81a.tar.xz libpinyin-befc08764559cdc1939463f9dfac5b7a7f97c81a.zip | |
begin to update pinyin.cpp
Diffstat (limited to 'src/lookup')
| -rw-r--r-- | src/lookup/pinyin_lookup2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lookup/pinyin_lookup2.cpp b/src/lookup/pinyin_lookup2.cpp index 646a6d9..6973ecd 100644 --- a/src/lookup/pinyin_lookup2.cpp +++ b/src/lookup/pinyin_lookup2.cpp @@ -498,6 +498,7 @@ bool PinyinLookup2::final_step(MatchResults & results){ /* find max element */ size_t last_step_pos = m_steps_content->len - 1; + /* skip the preceding "'" characters for constraints? */ GArray * last_step_array = (GArray *)g_ptr_array_index(m_steps_content, last_step_pos); if ( last_step_array->len == 0 ) return false; |
