]> git.lyx.org Git - lyx.git/blobdiff - src/Changes.cpp
* do not lookup the same macro all the time
[lyx.git] / src / Changes.cpp
index fec558e56ea77d893579e0e55425e67a8eb18de8..6b5979b0bb00115ca351c6e18a7ff3fbdf08aaa7 100644 (file)
@@ -303,7 +303,7 @@ int Changes::latexMarkChange(odocstream & os, BufferParams const & bparams,
        int column = 0;
 
        if (oldChange.type != Change::UNCHANGED) {
-               os << '}'; // close \lyxinserted or \lyxdeleted
+               os << '}'; // close \lyxadded or \lyxdeleted
                column++;
        }
 
@@ -318,7 +318,7 @@ int Changes::latexMarkChange(odocstream & os, BufferParams const & bparams,
                os << str;
                column += str.size();
        } else if (change.type == Change::INSERTED) {
-               docstring str = "\\lyxinserted{" +
+               docstring str = "\\lyxadded{" +
                        bparams.authors().get(change.author).name() + "}{" +
                        chgTime + "}{";
                os << str;