From 69aeaf03a8b0694269108a7a2d4297b7ddec289f Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 16 Oct 2015 13:45:45 +0800 Subject: fixes compile --- scripts2/templates/zhuyin_table.h.in | 2 +- src/pinyin.cpp | 2 +- src/storage/zhuyin_table.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts2/templates/zhuyin_table.h.in b/scripts2/templates/zhuyin_table.h.in index f8ba529..9760d4f 100644 --- a/scripts2/templates/zhuyin_table.h.in +++ b/scripts2/templates/zhuyin_table.h.in @@ -107,7 +107,7 @@ const zhuyin_tone_item_t chewing_dachen_cp26_tones[] = { @DACHEN-CP26_TONES@ }; -const char * chewing_tone_table[CHEWING_NUMBER_OF_TONES] = { +static const char * chewing_tone_table[CHEWING_NUMBER_OF_TONES] = { "", " ", "ˊ", diff --git a/src/pinyin.cpp b/src/pinyin.cpp index afdaa09..c123ce1 100644 --- a/src/pinyin.cpp +++ b/src/pinyin.cpp @@ -1339,7 +1339,7 @@ bool pinyin_in_chewing_keyboard(pinyin_instance_t * instance, const char key, gchar *** symbols) { pinyin_context_t * & context = instance->m_context; return context->m_chewing_parser->in_chewing_scheme - (context->m_options, key, *symbol); + (context->m_options, key, *symbols); } static bool _token_get_phrase(FacadePhraseIndex * phrase_index, diff --git a/src/storage/zhuyin_table.h b/src/storage/zhuyin_table.h index 4de0cd2..cde77bf 100644 --- a/src/storage/zhuyin_table.h +++ b/src/storage/zhuyin_table.h @@ -488,7 +488,7 @@ const zhuyin_tone_item_t chewing_dachen_cp26_tones[] = { {'\0', 0} }; -const char * chewing_tone_table[CHEWING_NUMBER_OF_TONES] = { +static const char * chewing_tone_table[CHEWING_NUMBER_OF_TONES] = { "", " ", "ˊ", -- cgit