diff options
author | Peng Wu <alexepico@gmail.com> | 2014-07-07 13:55:58 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2014-07-07 15:06:06 +0800 |
commit | f37abf8bf0d4566f0e569626861dfaef331a0a03 (patch) | |
tree | bc4084573b383325f12285f86d52f5ec2a6a4ea1 /src/ZYZConfig.cc | |
parent | 4fc26f38ff37ea7859fe7ca8041bda2acde3c6a5 (diff) | |
download | ibus-libzhuyin-f37abf8bf0d4566f0e569626861dfaef331a0a03.tar.gz ibus-libzhuyin-f37abf8bf0d4566f0e569626861dfaef331a0a03.tar.xz ibus-libzhuyin-f37abf8bf0d4566f0e569626861dfaef331a0a03.zip |
fixes typos
Diffstat (limited to 'src/ZYZConfig.cc')
-rw-r--r-- | src/ZYZConfig.cc | 4 |
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 §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); |