From: José Matox Date: Fri, 6 Jun 2003 14:00:46 +0000 (+0000) Subject: fix bad convertion of 2.15 tables (bug 1045) X-Git-Tag: 1.6.10~16673 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=26e107779744c321cd1897eaeb2765ceb58ba11e;p=lyx.git fix bad convertion of 2.15 tables (bug 1045) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7123 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 436ee3ff1f..e189c8f6cc 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2003-06-06 José Matos + + * lyx2lyx/lyxconvert_216 (update_tabular): fix bug 1045. + 2003-06-06 Lars Gullik Bjønnes * languages: Add country code to the lang code. diff --git a/lib/lyx2lyx/lyxconvert_216.py b/lib/lyx2lyx/lyxconvert_216.py index f95c6e86f0..82832b00b4 100644 --- a/lib/lyx2lyx/lyxconvert_216.py +++ b/lib/lyx2lyx/lyxconvert_216.py @@ -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