]> git.lyx.org Git - lyx.git/blobdiff - src/text.C
Fix bug 2029 (RtL space width)
[lyx.git] / src / text.C
index 887bc58e3accbf7e12ad525138355e508572bd5a..ddd41bbe46c1fc24c78dca944228eb34393d63fc 100644 (file)
@@ -592,7 +592,7 @@ int LyXText::leftMargin(pit_type const pit, pos_type const pos) const
            && align == LYX_ALIGN_BLOCK
            && !par.params().noindent()
            // in some insets, paragraphs are never indented
-           && !par.inInset()->neverIndent()
+           && !(par.inInset() && par.inInset()->neverIndent())
            // display style insets are always centered, omit indentation
            && !(!par.empty()
                    && par.isInset(pos)