[LyX/master] Compare: fix swapped parameter names in the ctor declaration

Pavel Sanda sanda at lyx.org
Wed Sep 9 15:17:12 UTC 2026


commit 082d9087d6abcc36dc834d2acc97897d3f960e06
Author: Pavel Sanda <sanda at lyx.org>
Date:   Wed Sep 9 13:29:45 2026 +0200

    Compare: fix swapped parameter names in the ctor declaration
    
    Archaic mismatch - nothing broken today, but already misfired during dev session.
    
    Assisted-by: Claude Opus 5
---
 src/Compare.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Compare.h b/src/Compare.h
index df2c7facd5..14855b5a65 100644
--- a/src/Compare.h
+++ b/src/Compare.h
@@ -49,8 +49,8 @@ class Compare : public QThread
 	Q_OBJECT
 
 public:
-	///
-	Compare(Buffer const * const old_buf, Buffer const * const new_buf,
+	/// Build the tracked-change diff from old_buf to new_buf into dest_buf.
+	Compare(Buffer const * const new_buf, Buffer const * const old_buf,
 		Buffer * const dest_buf, CompareOptions const & options);
 
 	///


More information about the lyx-cvs mailing list