Commit 94a1657a authored by Yuanle Song's avatar Yuanle Song
Browse files

v0.9.1 bugfix: should always enable incomplete

pinyin support when parsing pinyin.
otherwise, preedit_str such as rug(uo) will not show two word candidates
parent fd40da89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# -*- mode: conf -*-
project('zero-pinyin-service', ['c', 'cpp'],
  version: '0.9.0',
  version: '0.9.1',
  license: 'GPL',
  default_options: [
    'warning_level=2',
+2 −1
Original line number Diff line number Diff line
@@ -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