From 5f04bedb1cf8298de503db1fd7aff95d8a52c3c6 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 14 Dec 2009 15:44:49 +0000 Subject: [PATCH] Fix multicolumn output. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32526 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetTabular.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 109bcd862c..eaa2f94e19 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -2672,7 +2672,7 @@ docstring Tabular::xhtmlRow(XHTMLStream & xs, row_type row, attr << "'"; if (isMultiColumn(cell)) - attr << " colspan='" << j + columnSpan(cell) - 1<< "'"; + attr << " colspan='" << columnSpan(cell) << "'"; xs << StartTag("td", attr.str()); ret += cellInset(cell)->xhtml(xs, runparams); -- 2.39.2