From: Lars Gullik Bjønnes Date: Thu, 9 May 2002 13:36:45 +0000 (+0000) Subject: return correct value X-Git-Tag: 1.6.10~19261 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fbccc15f8f804043d5d62f8b5152239c17051ab8;p=features.git return correct value git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4147 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 76acb6f949..8612fd2e70 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,7 @@ +2002-05-09 Dekel Tsur + + * insetfloat.C (latex): Return correct value. + 2002-05-04 Herbert Voss * InsetgraphicsParams.C (read): fix bug with WH @@ -5,7 +9,7 @@ 2002-05-05 Dekel Tsur * insetfloat.C (latex): More sensible latex output - (fix the problem with endfloat). + (fix the problem with endfloat). 2002-05-02 José Matos @@ -66,7 +70,7 @@ * insettext.C (draw): call a fullRebreak on the row where we had a change and reset the cursor and selection-cursors. - * insettabular.C (insetUnlock): + * insettabular.C (insetUnlock): (insetButtonPress): call an update before setting the_locking_inset = 0 as otherwise we don't repaint! (update): reset the cursor position when we changed dimensions as @@ -97,7 +101,7 @@ 2002-04-16 Juergen Vigna - * insettabular.C (insetButtonPress): + * insettabular.C (insetButtonPress): (insetUnlock): call a redraw on unlocking the cell inset. * insettext.C (insetButtonPress): same as below. @@ -173,7 +177,7 @@ 2002-04-04 Jean-Marc Lasgouttes - * insetfloatlist.C (getScreenLabel): + * insetfloatlist.C (getScreenLabel): (latex): use Floating::listName (validate): new method diff --git a/src/insets/insetfloat.C b/src/insets/insetfloat.C index 94e27396aa..c458a9560a 100644 --- a/src/insets/insetfloat.C +++ b/src/insets/insetfloat.C @@ -255,7 +255,7 @@ int InsetFloat::latex(Buffer const * buf, // In this case, we do not case if the current output line is empty. os << "\n\\end{" << tmptype << "}\n"; - return i + 2; + return i + 4; }