From: Juergen Spitzmueller Date: Fri, 23 Aug 2019 20:36:35 +0000 (+0200) Subject: Correct index X-Git-Tag: lyx-2.4.0dev-acb2ca7b~1570 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=02a31b4c5c2165fee7845986d222f118f5e0ded1;hp=69ed8cb89abd291b19ca2a3423d1f368a0d67f71;p=features.git Correct index --- diff --git a/lib/lyx2lyx/LyX.py b/lib/lyx2lyx/LyX.py index b91350100e..3d62da5d4b 100644 --- a/lib/lyx2lyx/LyX.py +++ b/lib/lyx2lyx/LyX.py @@ -798,7 +798,7 @@ class LyX_base: self.warning("Malformed LyX document! No \\language header found!") return self.header[k : k] = ["\\begin_local_layout", "\\end_local_layout"] - i = k - 1 + i = k j = find_end_of(self.header, i, "\\begin_local_layout", "\\end_local_layout") if j == -1: