summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts2/templates/zhuyin_table.h.in2
-rw-r--r--src/pinyin.cpp2
-rw-r--r--src/storage/zhuyin_table.h2
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] = {
"",
" ",
"ˊ",