From 972ec40b73d09f41690715108105ea6d212ec9f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Matox?= Date: Sun, 22 Jul 2007 19:03:11 +0000 Subject: [PATCH] Fix problem reported by bug 4050 (I am not sure if this fixes the bug) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19167 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/lyx_1_5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lyx2lyx/lyx_1_5.py b/lib/lyx2lyx/lyx_1_5.py index 4b75701688..21320cf4a0 100644 --- a/lib/lyx2lyx/lyx_1_5.py +++ b/lib/lyx2lyx/lyx_1_5.py @@ -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 -- 2.39.2