From f313bd6a90280a04d6cb14e6e975f98695f83413 Mon Sep 17 00:00:00 2001 From: Edwin Leuven Date: Mon, 8 Mar 2010 04:04:56 +0000 Subject: [PATCH] erratum to r33628 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33665 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetTabular.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 1ffd6094a6..59fee941ca 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -3180,7 +3180,7 @@ int InsetTabular::rowFromY(Cursor & cur, int y) const // top y coordinate of tabular int h = yo(cur.bv()) - tabular.rowAscent(0); row_type r = 0; - for (; r < nrows() && y > h; ++r) + for (; r < tabular.nrows() && y > h; ++r) h += tabular.rowAscent(r) + tabular.rowDescent(r) + tabular.interRowSpace(r); -- 2.39.2