diff --git a/meson.build b/meson.build index 7dacfab9ba4a7d1a3da5c7b317837e2244620b67..b14609fea3c004a69672d3e17119cc566f111be6 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ # -*- mode: conf -*- project('zero-pinyin-service', ['c', 'cpp'], - version: '0.9.0', + version: '0.9.1', license: 'GPL', default_options: [ 'warning_level=2', diff --git a/zero-pinyin-service.c b/zero-pinyin-service.c index ebc5c18ef950cb485a7e83be52ac2ead1bf9da1a..d8fa41087c5caa18d64e754b971ea521c1726fa6 100644 --- a/zero-pinyin-service.c +++ b/zero-pinyin-service.c @@ -366,7 +366,8 @@ to_pyzy_flag(const guint fuzzy_flag) if (fuzzy_flag & FUZZY_FLAG_L_N) { result = result | PINYIN_FUZZY_L_N | PINYIN_FUZZY_N_L; } - return result; + /* always enable incomplete pinyin support */ + return result | PINYIN_INCOMPLETE_PINYIN; } void