]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_funcs.cpp
Fix bug 3171: switching document jumps always back to last saved bookmark
[lyx.git] / src / paragraph_funcs.cpp
index cbac6caee1b9a5a15ea01bc2627186d9e23f19f9..66ff44d749a1f35fbd90ef1898ff3054d3c31cd8 100644 (file)
@@ -118,7 +118,7 @@ void breakParagraph(BufferParams const & bparams,
        // Move over the end-of-par change information
        tmp->setChange(tmp->size(), par.lookupChange(par.size()));
        par.setChange(par.size(), Change(bparams.trackChanges ?
-                                          Change::INSERTED : Change::UNCHANGED));
+                                          Change::INSERTED : Change::UNCHANGED));
 
        if (pos) {
                // Make sure that we keep the language when
@@ -171,7 +171,7 @@ void breakParagraphConservative(BufferParams const & bparams,
                // Move over the end-of-par change information
                tmp.setChange(tmp.size(), par.lookupChange(par.size()));
                par.setChange(par.size(), Change(bparams.trackChanges ?
-                                          Change::INSERTED : Change::UNCHANGED));
+                                          Change::INSERTED : Change::UNCHANGED));
        }
 }