git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27060 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-10-23 19:18:21 +00:00
parent d6a0a94883
commit cf06f04955

View File

@ -1563,7 +1563,7 @@ def convert_macro_global(document):
i = 0 i = 0
while True: while True:
i = find_token(document.body, "\\begin_inset FormulaMacro", i) i = find_token(document.body, "\\begin_inset FormulaMacro", i)
if i != -1: if i == -1:
return return
# if i <= 13, then there isn't enough room for the ERT # if i <= 13, then there isn't enough room for the ERT
if i <= 12: if i <= 12:
@ -1574,6 +1574,7 @@ def convert_macro_global(document):
i = i - 12 i = i - 12
else: else:
i += 1 i += 1
print i
def revert_macro_optional_params(document): def revert_macro_optional_params(document):