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:
930426a
)
fixes facade_phrase_table2.h
author
Peng Wu
<alexepico@gmail.com>
Mon, 3 Sep 2012 02:08:03 +0000
(10:08 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Mon, 3 Sep 2012 02:08:03 +0000
(10:08 +0800)
src/storage/facade_phrase_table2.h
patch
|
blob
|
history
diff --git
a/src/storage/facade_phrase_table2.h
b/src/storage/facade_phrase_table2.h
index
f935ca6
..
a6e8bdc
100644
(file)
--- 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 (
range
s[i])
- g_array_set_size(
range
s[i], 0);
+ if (
token
s[i])
+ g_array_set_size(
token
s[i], 0);
}
int result = SEARCH_NONE;