[lyx-cvs] [LyX/master] Revert "typo"

Jean-Marc Lasgouttes lasgouttes at lyx.org
Mon Oct 7 13:18:12 UTC 2019


commit f009138f9c050a0adb73ee178f9a73f25952f7a2
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date:   Mon Oct 7 15:29:59 2019 +0200

    Revert "typo"
    
    An unrelated change slipped in.
    
    This reverts commit 3b642cd0edee1d8e954a3e8ef568d13fd15ab3b4.
---
 src/frontends/qt/GuiWorkArea.cpp |    2 +-
 src/output_latex.cpp             |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/frontends/qt/GuiWorkArea.cpp b/src/frontends/qt/GuiWorkArea.cpp
index 07ad690..e2772fb 100644
--- a/src/frontends/qt/GuiWorkArea.cpp
+++ b/src/frontends/qt/GuiWorkArea.cpp
@@ -133,7 +133,7 @@ public:
 		x_(0), caret_width_(0)
 	{}
 
-	/* Draw the caret. Parameter \c horiz_offset is not 0 when there
+	/* Draw he caret. Parameter \c horiz_offset is not 0 when there
 	 * has been horizontal scrolling in current row
 	 */
 	void draw(QPainter & painter, int horiz_offset)
diff --git a/src/output_latex.cpp b/src/output_latex.cpp
index 4fcc49b..4124d2d 100644
--- a/src/output_latex.cpp
+++ b/src/output_latex.cpp
@@ -1439,7 +1439,6 @@ void TeXOnePar(Buffer const & buf,
 				&& nextpar->getDepth() > par.getDepth()
 				&& nextpar->getAlign(bparams) == next_layout.align)
 			    || (!style.isEnvironment()
-				&& !tclass.isDefaultLayout(style)
 				&& next_layout.latextype == LATEX_ENVIRONMENT
 				&& nextpar->getDepth() < par.getDepth())
 			    || (style.isCommand()


More information about the lyx-cvs mailing list