forgot this in r23160.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23161 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-02-23 17:28:44 +00:00
parent de263dca11
commit 6c1b8c8422

View File

@ -228,8 +228,7 @@ void Text::cursorNext(Cursor & cur)
pos_type cpos = cur.pos();
pit_type cpar = cur.pit();
int x = cur.x_target();
setCursorFromCoordinates(cur, x, cur.bv().workHeight() - 1);
setCursorFromCoordinates(cur, cur.x_target(), cur.bv().workHeight() - 1);
cur.dispatch(FuncRequest(cur.selection()? LFUN_DOWN_SELECT: LFUN_DOWN));
if (cpar == cur.pit() && cpos == cur.pos())