From 44aef91ea68ca3cf86295a66b14221630ddd2ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Tue, 23 Nov 2010 11:49:04 +0000 Subject: [PATCH] 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 --- src/BufferParams.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index fab62fb9ec..b5254822b1 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -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")