projects
/
platform
/
upstream
/
ibus-libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddee3cc
)
fixes chewing options
author
Peng Wu
<alexepico@gmail.com>
Mon, 30 Jan 2012 02:36:27 +0000
(10:36 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Mon, 30 Jan 2012 02:36:27 +0000
(10:36 +0800)
src/PYLibPinyin.cc
patch
|
blob
|
history
diff --git
a/src/PYLibPinyin.cc
b/src/PYLibPinyin.cc
index
6f318f5
..
c1b1f92
100644
(file)
--- 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;
}