From: Stefan Schimanski Date: Sun, 16 Nov 2008 23:10:26 +0000 (+0000) Subject: * compile fix X-Git-Tag: 2.0.0~7684 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=22808f5265ee24eaee4c036c031b552e55d80973;p=lyx.git * compile fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27595 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp index e44a5ae87c..622633642e 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 < last_col; ++col) { + for (col_type col = beg_col; col < lastcol; ++col) { os << cell(index(row, col)); if (os.pendingBrace()) ModeSpecifier specifier(os, TEXT_MODE);