fix bug dicovered by Richard

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3513 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-02-08 18:19:16 +00:00
parent 5e20b471dd
commit 27e96b13bf

View File

@ -571,8 +571,8 @@ void MathCursor::delLine()
par()->asGridInset()->delRow(hullRow());
}
if (idx() > par()->nargs())
idx() = par()->nargs();
if (idx() >= par()->nargs())
idx() = par()->nargs() - 1;
if (pos() > size())
pos() = size();