]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.cpp
BufferParams.cpp: fix bug 3568:
[lyx.git] / src / TextMetrics.cpp
index aa5f01c5768909654d9ed27955b3635dd1619864..d80c66167fe2907116dee21845de89ad41ee56c3 100644 (file)
@@ -665,9 +665,10 @@ void TextMetrics::setHeightOfRow(pit_type const pit,
        // is it a top line?
        if (row.pos() == 0) {
                BufferParams const & bufparams = buffer.params();
-               // some parksips VERY EASY IMPLEMENTATION
+               // some parskips VERY EASY IMPLEMENTATION
                if (bufparams.paragraph_separation
                    == BufferParams::PARSEP_SKIP
+                       && par.ownerCode() != Inset::ERT_CODE
                        && pit > 0
                        && ((layout->isParagraph() && par.getDepth() == 0)
                            || (pars[pit - 1].layout()->isParagraph()