]> git.lyx.org Git - lyx.git/blobdiff - src/changes.C
Transform the name of the temp dir on Windows with GetLongPathName.
[lyx.git] / src / changes.C
index 79f37fcfc5427eeb5d8be49af2bf77315bdd7dcd..8b73679cb8b77a48f2811c9fbcf15448f51b5315 100644 (file)
@@ -495,11 +495,12 @@ void Changes::check() const
 
 
 int Changes::latexMarkChange(std::ostream & os,
-                            Change::Type const old, Change::Type const change)
+                            Change::Type const old, Change::Type const change,
+                            bool const & output)
 {
-       if (old == change)
+       if (!output || old == change)
                return 0;
-
+               
        string const start("\\changestart{}");
        string const end("\\changeend{}");
        string const son("\\overstrikeon{}");