From f37abf8bf0d4566f0e569626861dfaef331a0a03 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 7 Jul 2014 13:55:58 +0800 Subject: fixes typos --- src/ZYZConfig.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ZYZConfig.cc') 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 §ion, } } } 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); -- cgit