]> git.lyx.org Git - features.git/commitdiff
* lyx2lyx/lyx_1_5.py:
authorJürgen Spitzmüller <spitz@lyx.org>
Fri, 17 Jul 2009 15:03:13 +0000 (15:03 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Fri, 17 Jul 2009 15:03:13 +0000 (15:03 +0000)
- fix bug 6018.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30644 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_1_5.py

index 62c314a14a63c446a5a3f1dd56377b1341f88a79..ea8a1436ea6ad7af8e02aa16c8727aef18e517dd 100644 (file)
@@ -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