summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-12-31 11:47:43 +0800
committerPeng Wu <alexepico@gmail.com>2012-12-31 11:47:43 +0800
commite763afd31774a5654329f54426c699fb52d9a6eb (patch)
tree1b93cc3ab86345f2024b3b5d20d7ab1349191870 /src
parent8b08105163e9b3a59e808ea2fa8a4607648f9ae6 (diff)
downloadibus-libpinyin-e763afd31774a5654329f54426c699fb52d9a6eb.tar.gz
ibus-libpinyin-e763afd31774a5654329f54426c699fb52d9a6eb.tar.bz2
ibus-libpinyin-e763afd31774a5654329f54426c699fb52d9a6eb.zip
fixes a bug
Diffstat (limited to 'src')
-rw-r--r--src/PYPConfig.cc4
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 &section,
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"));
}