From 8afad998ed6360418faa1433397258b29f232a0f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 22 Jun 2012 01:08:51 +0200 Subject: [PATCH] =?utf8?q?LaTeXFeatures.cpp:=20polyglossia=20is=20only=20r?= =?utf8?q?equired=20if=20a=20language=20is=20not=20supported=20by=20babel?= =?utf8?q?=20=5Fand=5F=20also=20no=20other=20special=20package;=20patch=20?= =?utf8?q?by=20J=C3=BCrgen,=20to=20fix=20the=20regression=20mentioned=20in?= =?utf8?q?=20bug=20#8026?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/LaTeXFeatures.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index c4b49e605a..3782600fba 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -496,7 +496,7 @@ bool LaTeXFeatures::hasPolyglossiaExclusiveLanguages() const for (LanguageList::const_iterator cit = begin; cit != UsedLanguages_.end(); ++cit) { - if ((*cit)->babel().empty() && !(*cit)->polyglossia().empty()) + if ((*cit)->babel().empty() && !(*cit)->polyglossia().empty() && (*cit)->requires().empty()) return true; } return false; -- 2.39.2