Fix goto reference.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@1347 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-01-17 19:00:13 +00:00
parent 771c6ec3bd
commit a62b293127
2 changed files with 3 additions and 2 deletions

View File

@ -199,7 +199,7 @@ bool FormRef::input(FL_OBJECT *, long data)
{ {
lv_->getLyXFunc()-> lv_->getLyXFunc()->
Dispatch(LFUN_REF_GOTO, Dispatch(LFUN_REF_GOTO,
params.getContents()); fl_get_input(dialog_->ref));
fl_set_object_label(dialog_->button_go, _("Go back")); fl_set_object_label(dialog_->button_go, _("Go back"));
} }
break; break;

View File

@ -348,7 +348,8 @@ bool LyXText::IsBoundary(Buffer const * buf, LyXParagraph * par,
return false; return false;
if (!bidi_InRange(pos - 1)) { if (!bidi_InRange(pos - 1)) {
lyxerr << "LyXText::IsBoundary This shouldn't happen." << endl; /// This can happen if pos is the first char of a row.
/// Returning false in this case is incorrect!
return false; return false;
} }