]> git.lyx.org Git - features.git/commitdiff
Fix definition of boolean
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 25 Jun 2018 10:01:26 +0000 (12:01 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 25 Jun 2018 10:01:26 +0000 (12:01 +0200)
src/insets/InsetTabular.cpp

index ee454fb03504b2a84f0cd2ef90ce895381da8260..29c99bb36da082d9fee3651f2af7b0973ed459af 100644 (file)
@@ -2773,7 +2773,8 @@ void Tabular::TeXRow(otexstream & os, row_type row,
 
 void Tabular::latex(otexstream & os, OutputParams const & runparams) const
 {
-       bool const is_tabular_star = !tabular_width.zero() && !hasVarwidthColumn();
+       bool const is_tabular_star = !is_long_tabular && !tabular_width.zero()
+               && !hasVarwidthColumn();
        bool const is_xltabular = is_long_tabular
                && (hasVarwidthColumn() || !tabular_width.zero());
        TexRow::RowEntry pos = TexRow::textEntry(runparams.lastid, runparams.lastpos);