]> git.lyx.org Git - features.git/commitdiff
Revert "typo"
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 7 Oct 2019 13:29:59 +0000 (15:29 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:45 +0000 (15:48 +0200)
An unrelated change slipped in.

This reverts commit 3b642cd0edee1d8e954a3e8ef568d13fd15ab3b4.

src/frontends/qt/GuiWorkArea.cpp
src/output_latex.cpp

index 07ad690469893fcd1497a0ccbc6accd8665c4c2d..e2772fbb60686218d4eb855771583c8e66aa43a9 100644 (file)
@@ -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)
index 4fcc49b303a60922e0a13fd6f99b90430308fdb7..4124d2dd1c92fde9f5cf08cb62ca29808ed1277f 100644 (file)
@@ -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()