more xetex-disambibuation: here, the flavor really matters.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36443 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-11-23 11:49:04 +00:00
parent fa8dae4201
commit 44aef91ea6

View File

@ -1187,7 +1187,7 @@ void BufferParams::validate(LaTeXFeatures & features) const
features.require("color");
}
if (useXetex)
if (features.runparams().flavor == OutputParams::XETEX)
features.require("polyglossia");
if (language->lang() == "vietnamese")