]> git.lyx.org Git - lyx.git/blobdiff - src/Changes.cpp
Amend 9f04eeae032d
[lyx.git] / src / Changes.cpp
index b4226582f4f7b97e88323607223f9f691c005178..6e3bf0fff754a7bf24548074f33fe9f4a67d34b8 100644 (file)
@@ -428,7 +428,7 @@ int Changes::latexMarkChange(otexstream & os, BufferParams const & bparams,
        // signature needed by \lyxsout to correctly strike out display math
        if (change.type == Change::DELETED && runparams.inDisplayMath
            && !dvipost) {
-               if (os.afterParbreak())
+               if (os.blankLine())
                        str += from_ascii("\\\\\\noindent\n");
                else
                        str += from_ascii("\\\\\\\\\n");