mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
erratum to r33628
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33665 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
316b332ec7
commit
f313bd6a90
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user