From: Peng Wu Date: Mon, 30 Jan 2012 02:36:27 +0000 (+0800) Subject: fixes chewing options X-Git-Tag: 1.4.0~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48aa7a0e16f876464e0162db13c2162f12052e33;p=platform%2Fupstream%2Fibus-libpinyin.git fixes chewing options --- diff --git a/src/PYLibPinyin.cc b/src/PYLibPinyin.cc index 6f318f5..c1b1f92 100644 --- a/src/PYLibPinyin.cc +++ b/src/PYLibPinyin.cc @@ -173,7 +173,8 @@ LibPinyinBackEnd::setChewingOptions (Config *config) } } - pinyin_set_options(m_chewing_context, config->option()); + pinyin_option_t options = config->option() | USE_TONE; + pinyin_set_options(m_chewing_context, options); return TRUE; }