diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index f79d824ece..0af93679a4 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,7 @@ +2001-12-17 Jean-Marc Lasgouttes + + * insettext.C (insetButtonRelease): fix compile problem + 2001-12-17 Juergen Vigna * insettext.C (insetButtonPress): set the selection cursor! @@ -11,7 +15,7 @@ can be opened. * insetcollapsable.C (insetButtonRelease): changed so that it can - open evetual existing popup dialogs on mousebutton==3. + open eventual existing popup dialogs on mousebutton==3. * insetfloat.C (insetButtonRelease): removed not needed anymore! diff --git a/src/insets/insettext.C b/src/insets/insettext.C index 0ee5f7979c..3bd324d467 100644 --- a/src/insets/insettext.C +++ b/src/insets/insettext.C @@ -1009,7 +1009,7 @@ bool InsetText::insetButtonRelease(BufferView * bv, int x, int y, int button) } int tmp_x = x - drawTextXOffset; int tmp_y = y + insetAscent - getLyXText(bv)->first; - Inset * inset = bv->checkInsetHit(getLyXText(bv), tmp_x, tmp_y, button); + Inset * inset = bv->checkInsetHit(getLyXText(bv), tmp_x, tmp_y); bool ret = false; if (inset) { if (isHighlyEditableInset(inset)) {