From 27e96b13bf1ab09e6dbbec70080bd488287d73ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 8 Feb 2002 18:19:16 +0000 Subject: [PATCH] fix bug dicovered by Richard git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3513 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_cursor.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mathed/math_cursor.C b/src/mathed/math_cursor.C index 2ef9940200..111523ae2b 100644 --- a/src/mathed/math_cursor.C +++ b/src/mathed/math_cursor.C @@ -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(); -- 2.39.2