summaryrefslogtreecommitdiffstats
path: root/src/ZYZConfig.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ZYZConfig.cc')
-rw-r--r--src/ZYZConfig.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ZYZConfig.cc b/src/ZYZConfig.cc
index a9d1fcb..d07ed73 100644
--- a/src/ZYZConfig.cc
+++ b/src/ZYZConfig.cc
@@ -172,7 +172,7 @@ ZhuyinConfig::readDefaultValues (void)
m_init_full_punct = read (CONFIG_INIT_FULL_PUNCT, true);
m_init_trad_chinese = read (CONFIG_INIT_TRAD_CHINESE, true);
- m_candidate_keys = read (CONFIG_CANDIDATE_KEYS, "1234567890");
+ m_candidate_keys = read (CONFIG_CANDIDATE_KEYS, std::string ("1234567890"));
/* fuzzy zhuyin */
if (read (CONFIG_FUZZY_ZHUYIN, false))
@@ -223,7 +223,7 @@ ZhuyinConfig::valueChanged (const std::string &section,
}
}
} else if (CONFIG_CANDIDATE_KEYS == name) {
- m_candidate_keys = normalizeGVariant (value, "1234567890");
+ m_candidate_keys = normalizeGVariant (value, std::string ("1234567890"));
} /* lookup table page size */
else if (CONFIG_ORIENTATION == name) {
m_orientation = normalizeGVariant (value, IBUS_ORIENTATION_VERTICAL);