]> git.lyx.org Git - features.git/commitdiff
Stupid.
authorRichard Heck <rgheck@comcast.net>
Thu, 23 Oct 2008 19:18:21 +0000 (19:18 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 23 Oct 2008 19:18:21 +0000 (19:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27060 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_1_6.py

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