]> git.lyx.org Git - features.git/commitdiff
* fix latex grid output of commit http://www.lyx.org/trac/changeset/27524
authorStefan Schimanski <sts@lyx.org>
Sun, 16 Nov 2008 23:07:13 +0000 (23:07 +0000)
committerStefan Schimanski <sts@lyx.org>
Sun, 16 Nov 2008 23:07:13 +0000 (23:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27594 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathGrid.cpp

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