]> git.lyx.org Git - lyx.git/blobdiff - src/Changes.cpp
Rename frontend qt4 to qt
[lyx.git] / src / Changes.cpp
index 5f8e3b21bf2af4dab62099d7a4c92f6dceaf5c8f..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.lastChar() == '\n')
+               if (os.blankLine())
                        str += from_ascii("\\\\\\noindent\n");
                else
                        str += from_ascii("\\\\\\\\\n");