diff --git a/src/frontends/xforms/FormRef.C b/src/frontends/xforms/FormRef.C index 0f8d9ab7ef..c72c46f9d4 100644 --- a/src/frontends/xforms/FormRef.C +++ b/src/frontends/xforms/FormRef.C @@ -199,7 +199,7 @@ bool FormRef::input(FL_OBJECT *, long data) { lv_->getLyXFunc()-> Dispatch(LFUN_REF_GOTO, - params.getContents()); + fl_get_input(dialog_->ref)); fl_set_object_label(dialog_->button_go, _("Go back")); } break; diff --git a/src/text.C b/src/text.C index 9420e59534..002d7c7ed6 100644 --- a/src/text.C +++ b/src/text.C @@ -348,7 +348,8 @@ bool LyXText::IsBoundary(Buffer const * buf, LyXParagraph * par, return false; 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; }