summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/PYLibPinyin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PYLibPinyin.cc b/src/PYLibPinyin.cc
index 44dcaf2..33ccd4a 100644
--- 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;
}