]> git.lyx.org Git - lyx.git/blobdiff - src/changes.C
Fix bug 2029 (RtL space width)
[lyx.git] / src / changes.C
index 79f37fcfc5427eeb5d8be49af2bf77315bdd7dcd..fd12f218fd05625e075413bf084a65128668b950 100644 (file)
@@ -495,9 +495,10 @@ 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{}");