]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_funcs.cpp
Fix typo for r30882.
[lyx.git] / src / paragraph_funcs.cpp
index f1f018ddbe39ab12528f6e045071079005c27208..dfc895d1f1285e2da7111f4c1230c617f0b9c6a4 100644 (file)
@@ -191,7 +191,7 @@ void mergeParagraph(BufferParams const & bparams,
        // the imaginary end-of-paragraph character (at par.size()) has to be
        // marked as unmodified. Otherwise, its change is adopted by the first
        // character of the next paragraph.
-       if (par.lookupChange(par.size()).type != Change::UNCHANGED) {
+       if (par.isChanged(par.size())) {
                LYXERR(Debug::CHANGES,
                   "merging par with inserted/deleted end-of-par character");
                par.setChange(par.size(), Change(Change::UNCHANGED));