summaryrefslogtreecommitdiffstats
path: root/src/ZYZBopomofoSymbolSection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ZYZBopomofoSymbolSection.cc')
-rw-r--r--src/ZYZBopomofoSymbolSection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ZYZBopomofoSymbolSection.cc b/src/ZYZBopomofoSymbolSection.cc
index 1628973..f714dfc 100644
--- a/src/ZYZBopomofoSymbolSection.cc
+++ b/src/ZYZBopomofoSymbolSection.cc
@@ -49,7 +49,7 @@ BopomofoSymbolSection::initCandidates (zhuyin_instance_t * instance,
/* cache the choices. */
gchar ** symbols = NULL;
- assert (zhuyin_in_chewing_keyboard (instance, key, &symbols));
+ check_result (zhuyin_in_chewing_keyboard (instance, key, &symbols));
size_t num = g_strv_length (symbols);
assert (num > 0);
for (size_t i = 0; i < num; ++i) {