projects
/
platform
/
upstream
/
libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f811cb
)
fixes _append_items
author
Peng Wu
<alexepico@gmail.com>
Thu, 24 May 2012 03:24:48 +0000
(11:24 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Thu, 24 May 2012 03:24:48 +0000
(11:24 +0800)
src/pinyin.cpp
patch
|
blob
|
history
diff --git
a/src/pinyin.cpp
b/src/pinyin.cpp
index eb3dde0bc3ae237dcfe51a9bf6114f5993bc4e66..5cd99459b324aef10f68c7e556bda1d7f14b3db3 100644
(file)
--- 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;