]> git.lyx.org Git - lyx.git/commitdiff
typo
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 7 Oct 2019 13:10:52 +0000 (15:10 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 7 Oct 2019 13:10:52 +0000 (15:10 +0200)
src/frontends/qt/GuiWorkArea.cpp
src/output_latex.cpp

index e2772fbb60686218d4eb855771583c8e66aa43a9..07ad690469893fcd1497a0ccbc6accd8665c4c2d 100644 (file)
@@ -133,7 +133,7 @@ public:
                x_(0), caret_width_(0)
        {}
 
-       /* Draw he caret. Parameter \c horiz_offset is not 0 when there
+       /* Draw the 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 4124d2dd1c92fde9f5cf08cb62ca29808ed1277f..4fcc49b303a60922e0a13fd6f99b90430308fdb7 100644 (file)
@@ -1439,6 +1439,7 @@ 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()