Dov, please verify this.
[EMAIL PROTECTED] wrote:
Author: younes
Date: Mon Feb 11 09:10:02 2008
New Revision: 22935
URL: http://www.lyx.org/trac/changeset/22935
Log:
Fix warning and probably a bug.
Modified:
lyx-devel/trunk/src/insets/InsetTabular.cpp
Modified: lyx-devel/trunk/src/insets/InsetTabular.cpp
URL:
http://www.lyx.org/trac/file/lyx-devel/trunk/src/insets/InsetTabular.cpp?rev=22935
==============================================================================
--- lyx-devel/trunk/src/insets/InsetTabular.cpp (original)
+++ lyx-devel/trunk/src/insets/InsetTabular.cpp Mon Feb 11 09:10:02 2008
@@ -3151,13 +3151,13 @@
}
-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