[LyX/master] Fix indentation

Juergen Spitzmueller spitz at lyx.org
Mon Aug 3 16:57:14 UTC 2026


commit fd6fe679214e649137a26beb3adb3f9d31d56f68
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Mon Aug 3 18:56:59 2026 +0200

    Fix indentation
    
    Thanks to Pavel and Claude
---
 lib/lyx2lyx/lyx_2_6.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/lyx2lyx/lyx_2_6.py b/lib/lyx2lyx/lyx_2_6.py
index 6651e93908..00ded52956 100644
--- a/lib/lyx2lyx/lyx_2_6.py
+++ b/lib/lyx2lyx/lyx_2_6.py
@@ -401,7 +401,7 @@ def revert_mathref(document):
                                 cmd += "}{"
                             else:
                                 cmd += ","
-                            first = False
+                        first = False
                         cmd += argu
                     cmd += "}"
                     document.body[k] = pretext + cmd + posttext
@@ -431,7 +431,7 @@ def revert_mathref(document):
                                 cmd += "}{"
                             else:
                                 cmd += ","
-                            first = False
+                        first = False
                         cmd += argu
                     cmd += "}"
                     document.body[k] = pretext + cmd + posttext


More information about the lyx-cvs mailing list