* src/mathed/InsetMathGrid.cpp:

- fix off-by-one-error in append-column (fix bug 4323/2).
	  This is Martin's original fix (r21430) minus the buggy renaming.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21439 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-11-05 14:31:33 +00:00
parent 5c7dd90532
commit a60f43e53a

View File

@ -1197,7 +1197,7 @@ void InsetMathGrid::doDispatch(Cursor & cur, FuncRequest & cmd)
row_type const r = cur.row();
col_type const c = cur.col();
for (int i = 0, n = extractInt(is); i < n; ++i)
addCol(cur.col());
addCol(cur.col() + 1);
cur.idx() = index(r, c);
}
else if (s == "delete-column") {