From: Jürgen Spitzmüller Date: Fri, 17 Jul 2009 15:03:13 +0000 (+0000) Subject: * lyx2lyx/lyx_1_5.py: X-Git-Tag: 2.0.0~5980 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4e31cd60b321e93eef87875b919afd71705bc39b;p=features.git * lyx2lyx/lyx_1_5.py: - fix bug 6018. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30644 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/lyx2lyx/lyx_1_5.py b/lib/lyx2lyx/lyx_1_5.py index 62c314a14a..ea8a1436ea 100644 --- a/lib/lyx2lyx/lyx_1_5.py +++ b/lib/lyx2lyx/lyx_1_5.py @@ -1597,7 +1597,7 @@ def revert_graphics_rotation(document): def convert_tableborder(document): - # The problematic is: LyX double the table cell border as it ignores the "|" character in + # The problem is: LyX doubles the table cell border as it ignores the "|" character in # the cell arguments. A fix takes care of this and therefore the "|" has to be removed i = 0 while i < len(document.body): @@ -1606,7 +1606,7 @@ def convert_tableborder(document): # the two tokens have to be in one line if (h != -1 and k != -1): # delete the "|" - document.body[i] = document.body[i][:k] + document.body[i][k+1:len(document.body[i])-1] + document.body[i] = document.body[i][:k] + document.body[i][k+1:len(document.body[i])] i = i + 1