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:
6405647
)
use DYNAMIC_ADJUST
author
Peng Wu
<alexepico@gmail.com>
Fri, 3 Aug 2012 07:28:42 +0000
(15:28 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Fri, 3 Aug 2012 07:28:42 +0000
(15:28 +0800)
src/PYLibPinyin.cc
patch
|
blob
|
history
diff --git
a/src/PYLibPinyin.cc
b/src/PYLibPinyin.cc
index
44dcaf2
..
33ccd4a
100644
(file)
--- a/
src/PYLibPinyin.cc
+++ b/
src/PYLibPinyin.cc
@@
-144,7
+144,7
@@
LibPinyinBackEnd::setPinyinOptions (Config *config)
}
pinyin_option_t options = config->option()
- | USE_RESPLIT_TABLE | USE_DIVIDED_TABLE;
+ | USE_RESPLIT_TABLE | USE_DIVIDED_TABLE
| DYNAMIC_ADJUST
;
pinyin_set_options (m_pinyin_context, options);
return TRUE;
}
@@
-176,7
+176,7
@@
LibPinyinBackEnd::setChewingOptions (Config *config)
}
}
- pinyin_option_t options = config->option() | USE_TONE;
+ pinyin_option_t options = config->option() | USE_TONE
|DYNAMIC_ADJUST
;
pinyin_set_options(m_chewing_context, options);
return TRUE;
}