]> git.lyx.org Git - features.git/commitdiff
Fix problem reported by bug 4050 (I am not sure if this fixes the bug)
authorJosé Matox <jamatos@lyx.org>
Sun, 22 Jul 2007 19:03:11 +0000 (19:03 +0000)
committerJosé Matox <jamatos@lyx.org>
Sun, 22 Jul 2007 19:03:11 +0000 (19:03 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19167 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_1_5.py

index 4b75701688e125ce572a8871ae4bcc4e5682eabc..21320cf4a0e41c415353ab5d918b3bf738931c98 100644 (file)
@@ -1249,7 +1249,7 @@ def revert_accent(document):
                         document.body.insert(i+1, document.body[i][j+1:])
                     # Delete the accented characters
                     if j > 1:
-                        document.body[i] = document.body[i][:j-2]
+                        document.body[i] = document.body[i][:j-1]
                     else:
                         document.body[i] = u''
                     # Finally add the InsetLaTeXAccent