Jürgen wrote :
>      Could you explain this and/or send a patch?

Here they are.

-- 
 *******************************************************************
 *        Alain Castera                                            *
 * IPNL - UCB Lyon 1             | e-mail : [EMAIL PROTECTED] *
 * Bat. Paul Dirac               |      or        [EMAIL PROTECTED] *
 * Campus de la Doua             | Telephone :     (+33) 472448429 *
 * F69622 Villeurbanne CEDEX     | Fax :           (+33) 472448004 *
 *******************************************************************


Index: insettabular.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/insets/insettabular.C,v
retrieving revision 1.234
diff -U3 -r1.234 insettabular.C
--- insettabular.C      2002/11/24 15:19:56     1.234
+++ insettabular.C      2002/12/03 08:57:40
@@ -1934,9 +1934,6 @@
                if (vallen.zero()
                    && tabular->GetAlignment(actcell, true) == LYX_ALIGN_BLOCK)
                        tabularFeatures(bv, LyXTabular::ALIGN_CENTER, string());
-               else if (!vallen.zero()
-                        && tabular->GetAlignment(actcell, true) != LYX_ALIGN_BLOCK)
-                       tabularFeatures(bv, LyXTabular::ALIGN_BLOCK, string());
        }
        break;
        case LyXTabular::SET_MPWIDTH:
Index: insettabular.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/insets/insettabular.C,v
retrieving revision 1.234
diff -U3 -r1.234 insettabular.C
--- insettabular.C      2002/11/24 15:19:56     1.234
+++ insettabular.C      2002/12/03 08:54:41
@@ -1935,6 +1935,7 @@
                    && tabular->GetAlignment(actcell, true) == LYX_ALIGN_BLOCK)
                        tabularFeatures(bv, LyXTabular::ALIGN_CENTER, string());
                else if (!vallen.zero()
+                        && tmplen.zero()
                         && tabular->GetAlignment(actcell, true) != LYX_ALIGN_BLOCK)
                        tabularFeatures(bv, LyXTabular::ALIGN_BLOCK, string());
        }

Reply via email to