commit 668aa17ad7567b5969796b9a7a8f57f57a646e92
Author: José Matos <jama...@lyx.org>
Date:   Mon Nov 4 12:12:23 2019 +0000

    Fix typo (thanks to Salvatore Falco for the fix).
---
 lib/lyx2lyx/lyx_2_1.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py
index 8838a64..133d500 100644
--- a/lib/lyx2lyx/lyx_2_1.py
+++ b/lib/lyx2lyx/lyx_2_1.py
@@ -181,7 +181,7 @@ def convert_TeX_brace_to_Argument(document, line, n, nmax, 
inset, environment, o
             else:
               beginBrace = find_token(document.body, "{", endBrace, end_layout)
             # assure that the ERTs are consecutive (11 or 12 depending if 
there is a space between the ERTs or not)
-            if beginBrance != -1 and (beginBrace == endBrace + 11 or 
beginBrace == endBrace + 12):
+            if beginBrace != -1 and (beginBrace == endBrace + 11 or beginBrace 
== endBrace + 12):
               end = find_token(document.body, "\\end_inset", beginBrace)
               document.body[lineERT : end + 1] = ["\\end_layout", "", 
"\\end_inset"]
               if loop == 1:
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to