]> git.lyx.org Git - lyx.git/commitdiff
fix bad convertion of 2.15 tables (bug 1045)
authorJosé Matox <jamatos@lyx.org>
Fri, 6 Jun 2003 14:00:46 +0000 (14:00 +0000)
committerJosé Matox <jamatos@lyx.org>
Fri, 6 Jun 2003 14:00:46 +0000 (14:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7123 a592a061-630c-0410-9148-cb99ea01b6c8

lib/ChangeLog
lib/lyx2lyx/lyxconvert_216.py

index 436ee3ff1f4ac12c73a393f60f242da04a872def..e189c8f6cca92d3bcae7504fe1172ca6895b9a86 100644 (file)
@@ -1,3 +1,7 @@
+2003-06-06  José Matos  <jamatos@fep.up.pt>
+
+       * lyx2lyx/lyxconvert_216 (update_tabular): fix bug 1045.
+
 2003-06-06  Lars Gullik Bjønnes  <larsbj@lyx.org>
 
        * languages: Add country code to the lang code.
index f95c6e86f0145ba24d391de30f47a65a33e5adca..82832b00b446f08f88684ab8663b17896e5f941b 100644 (file)
@@ -111,7 +111,7 @@ def update_tabular(lines):
                     del lines[i]
                     end = end -1
 
-                if lines[i] == '\\newline ':
+                if string.find(lines[i],'\\newline') != -1:
                     del lines[i]
                 l = l + 1