mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Correct index
This commit is contained in:
parent
69ed8cb89a
commit
02a31b4c5c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user