summaryrefslogtreecommitdiffstats
path: root/utils/storage/gen_chewing_table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/storage/gen_chewing_table.cpp')
-rw-r--r--utils/storage/gen_chewing_table.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/storage/gen_chewing_table.cpp b/utils/storage/gen_chewing_table.cpp
index 30bc0da..d74be6a 100644
--- a/utils/storage/gen_chewing_table.cpp
+++ b/utils/storage/gen_chewing_table.cpp
@@ -293,7 +293,7 @@ void gen_phrase_file(const char * outfilename, int phrase_index){
(key_rests, ChewingKeyRest, k);
//assert (CHEWING_ZERO_TONE != key.m_tone);
- pinyin = get_pinyin_string(key, key_rest);
+ pinyin = key.get_pinyin_string();
g_array_append_val(pinyins, pinyin);
}
gchar * pinyin_str = g_strjoinv("'", (gchar **)pinyins->data);