X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FChanges.cpp;h=6e3bf0fff754a7bf24548074f33fe9f4a67d34b8;hb=71a57e0f4df9d2b860ec2d060cc30043206c335d;hp=b4226582f4f7b97e88323607223f9f691c005178;hpb=7f23ca912c5e92bf30bdc05b6d801082f6643e8e;p=lyx.git diff --git a/src/Changes.cpp b/src/Changes.cpp index b4226582f4..6e3bf0fff7 100644 --- a/src/Changes.cpp +++ b/src/Changes.cpp @@ -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");