]> git.lyx.org Git - features.git/commitdiff
possible fix to bug 5333
authorJosé Matox <jamatos@lyx.org>
Thu, 9 Oct 2008 12:53:13 +0000 (12:53 +0000)
committerJosé Matox <jamatos@lyx.org>
Thu, 9 Oct 2008 12:53:13 +0000 (12:53 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26827 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_1_5.py

index b895402bbc282dcf540443a732f8a6aec8b0a95d..e7778578a7e303838931a889bdd1840b4d47cb47 100644 (file)
@@ -721,7 +721,7 @@ def revert_commandparams(document):
             lines.append('')
             lines.append('\\end_inset')
         document.body[i:j+1] = lines
-        i = j + 1
+        i += len(lines) + 1
 
 
 def revert_nomenclature(document):