commit f476d9c85ad63353b978481fde59659b870758fe
Author: Enrico Forestieri <[email protected]>
Date: Tue Sep 27 21:32:40 2016 +0200
Shut up compiler warning
---
src/output_latex.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/output_latex.cpp b/src/output_latex.cpp
index c656ecf..0765949 100644
--- a/src/output_latex.cpp
+++ b/src/output_latex.cpp
@@ -982,8 +982,8 @@ void TeXOnePar(Buffer const & buf,
switch (style.latextype) {
case LATEX_ITEM_ENVIRONMENT:
case LATEX_LIST_ENVIRONMENT:
- if (nextpar && par_lang != nextpar_lang
- && nextpar->getDepth() == par.getDepth()
+ if ((nextpar && par_lang != nextpar_lang
+ && nextpar->getDepth() == par.getDepth())
|| (atSameLastLangSwitchDepth(state) && nextpar
&& nextpar->getDepth() < par.getDepth()))
close_lang_switch = use_polyglossia;