From 22808f5265ee24eaee4c036c031b552e55d80973 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Sun, 16 Nov 2008 23:10:26 +0000 Subject: [PATCH] * compile fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27595 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathGrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5