]> git.lyx.org Git - features.git/commitdiff
* compile fix
authorStefan Schimanski <sts@lyx.org>
Sun, 16 Nov 2008 23:10:26 +0000 (23:10 +0000)
committerStefan Schimanski <sts@lyx.org>
Sun, 16 Nov 2008 23:10:26 +0000 (23:10 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27595 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathGrid.cpp

index e44a5ae87c06c3a64ed536401e8945708a20ff48..622633642ed9962fcb4c48073090d141772f0360 100644 (file)
@@ -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);