]> git.lyx.org Git - features.git/commitdiff
Shut up compiler warning
authorEnrico Forestieri <forenr@lyx.org>
Tue, 27 Sep 2016 19:32:40 +0000 (21:32 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 27 Sep 2016 19:32:40 +0000 (21:32 +0200)
src/output_latex.cpp

index c656ecf18f9aab8b505c034a068fc7319ff2d954..07659495965259f50fb67f2d1457a9f20d2e491c 100644 (file)
@@ -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;