mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix problem with conversion of empty insets. Also, fix problem with error message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28753 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d1a00c53b3
commit
376853cd7a
@ -1078,9 +1078,9 @@ def convert_latexcommand_index(document):
|
||||
if document.body[i + 1] != "LatexCommand index": # Might also be index_print
|
||||
i += 1
|
||||
continue
|
||||
j = find_end_of_inset(document.body, i + 2)
|
||||
j = find_end_of_inset(document.body, i + 1)
|
||||
if j == -1:
|
||||
document.warning("Unable to find end of index inset at line " + i + "!")
|
||||
document.warning("Unable to find end of index inset at line " + str(i) + "!")
|
||||
i += 2
|
||||
continue
|
||||
m = r1.match(document.body[i + 2])
|
||||
|
Loading…
Reference in New Issue
Block a user