[LyX/master] Add FIXME

Juergen Spitzmueller spitz at lyx.org
Mon Dec 27 10:40:27 UTC 2021


commit 6ac60832e5091c405d74e4879d339212999ea8f2
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Mon Dec 27 12:09:02 2021 +0100

    Add FIXME
---
 src/mathed/InsetMathGrid.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp
index 90f53fd..aa60d6a 100644
--- a/src/mathed/InsetMathGrid.cpp
+++ b/src/mathed/InsetMathGrid.cpp
@@ -772,6 +772,9 @@ docstring InsetMathGrid::eolString(row_type row, bool fragile,
 	if (eol.empty() && row + 1 == nrows() && (nrows() == 1 || !last_eoln))
 		return docstring();
 
+	// FIXME: As of 2018 (with amendment in LaTeX 2021/06),
+	// \\ is a robust command and the following protection
+	// is no longer necessary
 	return (fragile ? "\\protect\\\\" : "\\\\") + eol;
 }
 


More information about the lyx-cvs mailing list