Fix warning and probably a bug.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22935 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-11 08:10:02 +00:00
parent 260acacf1b
commit 4bc9498c7d

View File

@ -3151,13 +3151,13 @@ docstring const InsetTabular::editMessage() const
}
void InsetTabular::edit(Cursor & cur, bool, EntryDirectionType)
void InsetTabular::edit(Cursor & cur, bool, EntryDirectionType direction)
{
//lyxerr << "InsetTabular::edit: " << this << endl;
cur.finishUndo();
cur.selection() = false;
cur.push(*this);
if (left) {
if (direction == ENTER_FROM_LEFT) {
if (isRightToLeft(cur))
cur.idx() = tabular.getLastCellInRow(0);
else