From: Stefan Schimanski Date: Sun, 16 Nov 2008 23:07:13 +0000 (+0000) Subject: * fix latex grid output of commit http://www.lyx.org/trac/changeset/27524 X-Git-Tag: 2.0.0~7685 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=971f934d1e519657c221e0423f4405189f190873;p=lyx.git * fix latex grid output of commit http://www.lyx.org/trac/changeset/27524 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27594 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp index e14f70be2b..e44a5ae87c 100644 --- a/src/mathed/InsetMathGrid.cpp +++ b/src/mathed/InsetMathGrid.cpp @@ -1000,7 +1000,7 @@ void InsetMathGrid::write(WriteStream & os, lastcol = col + 1; emptyline = false; } - for (col_type col = beg_col; col < end_col; ++col) { + for (col_type col = beg_col; col < last_col; ++col) { os << cell(index(row, col)); if (os.pendingBrace()) ModeSpecifier specifier(os, TEXT_MODE);