summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_index.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/phrase_index.h')
-rw-r--r--src/storage/phrase_index.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h
index e1d4de6..c82ed80 100644
--- a/src/storage/phrase_index.h
+++ b/src/storage/phrase_index.h
@@ -102,10 +102,9 @@ public:
i * ( phrase_length * sizeof(PinyinKey) + sizeof(guint32) );
guint32 * freq = (guint32 *)(pinyin_begin + phrase_length * sizeof(PinyinKey));
total_freq += *freq;
- if ( 0 == pinyin_compare_with_ambiguities(custom,
- (PinyinKey *)pinyin_begin,
- pinyin_keys,
- phrase_length)){
+ if ( 0 == pinyin_compare_with_ambiguities
+ (custom, pinyin_keys,
+ (PinyinKey *)pinyin_begin,phrase_length) ){
matched += *freq;
}
}