commit a6fbb8677e14910727e0957b5e887442997d3b6e
Author: Juergen Spitzmueller <[email protected]>
Date:   Thu Aug 15 08:05:31 2024 +0200

    fix convert_index_sc method
---
 lib/lyx2lyx/lyx_2_5.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/lyx2lyx/lyx_2_5.py b/lib/lyx2lyx/lyx_2_5.py
index 4f11a6cb79..daaefe63f8 100644
--- a/lib/lyx2lyx/lyx_2_5.py
+++ b/lib/lyx2lyx/lyx_2_5.py
@@ -661,8 +661,6 @@ def convert_index_sc(document):
                     repl += [ch]
                     repl += put_cmd_in_ert(ec)
                 repl += chunks[-1:]
-                if line[-1:] == ec:
-                    repl += put_cmd_in_ert(ec)
                 document.body[k:k+1] = repl
         i += 1
 
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to