diff options
author | Peng Wu <alexepico@gmail.com> | 2012-12-31 11:47:43 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-12-31 11:47:43 +0800 |
commit | e763afd31774a5654329f54426c699fb52d9a6eb (patch) | |
tree | 1b93cc3ab86345f2024b3b5d20d7ab1349191870 /src/PYPConfig.cc | |
parent | 8b08105163e9b3a59e808ea2fa8a4607648f9ae6 (diff) | |
download | ibus-libpinyin-e763afd31774a5654329f54426c699fb52d9a6eb.tar.gz ibus-libpinyin-e763afd31774a5654329f54426c699fb52d9a6eb.tar.xz ibus-libpinyin-e763afd31774a5654329f54426c699fb52d9a6eb.zip |
fixes a bug
Diffstat (limited to 'src/PYPConfig.cc')
-rw-r--r-- | src/PYPConfig.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PYPConfig.cc b/src/PYPConfig.cc index 216d1cf..8ed07f7 100644 --- a/src/PYPConfig.cc +++ b/src/PYPConfig.cc @@ -154,7 +154,7 @@ LibPinyinConfig::readDefaultValues (void) m_page_size = 5; g_warn_if_reached (); } - m_ctrl_switch = read(CONFIG_CTRL_SWITCH, FALSE); + m_ctrl_switch = read(CONFIG_CTRL_SWITCH, false); m_dictionaries = read (CONFIG_DICTIONARIES, std::string("2")); /* fuzzy pinyin */ @@ -225,7 +225,7 @@ LibPinyinConfig::valueChanged (const std::string §ion, g_warn_if_reached (); } } else if (CONFIG_CTRL_SWITCH == name) { - m_ctrl_switch = normalizeGVariant (value, FALSE); + m_ctrl_switch = normalizeGVariant (value, false); } else if (CONFIG_DICTIONARIES == name) { m_dictionaries = normalizeGVariant (value, std::string("2")); } |