From d1761d765295f50207dc132465ed6a5b3daa6cdf Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Tue, 28 Dec 2021 09:42:31 +0100 Subject: [PATCH] Style --- src/mathed/InsetMathGrid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp index f180b9a493..96ec13b954 100644 --- a/src/mathed/InsetMathGrid.cpp +++ b/src/mathed/InsetMathGrid.cpp @@ -1251,8 +1251,8 @@ void InsetMathGrid::write(TeXMathStream & os, // As of 2018 (with amendment in LaTeX 2021/06), // \\ is a robust command and its protection // is no longer necessary - bool const fragile = LaTeXFeatures::isAvailable("LaTeX-2021/06/01") ? - false : os.fragile(); + bool const fragile = os.fragile() + && !LaTeXFeatures::isAvailable("LaTeX-2021/06/01"); for (row_type row = beg_row; row < end_row; ++row) { os << verboseHLine(rowinfo_[row].lines); // don't write & and empty cells at end of line, -- 2.39.5