From: Angus Leeming Date: Mon, 8 Apr 2002 17:26:33 +0000 (+0000) Subject: (Herbert): fix compatibility read of InsetFigure. X-Git-Tag: 1.6.10~19455 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2099c3cc2b6680306bcad9e5cd6fe62f7de85e87;p=features.git (Herbert): fix compatibility read of InsetFigure. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3951 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 0f27ba48a3..da6133186a 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,8 @@ +2002-04-07 Herbert Voss + + * insetgraphic.C (readFigInset): fix bug with subcaption and + rotating + 2002-04-08 Herbert Voss * insetgraphicsparam.C: forgot special option and delete old diff --git a/src/insets/insetgraphics.C b/src/insets/insetgraphics.C index 247254efb8..cb18a563e6 100644 --- a/src/insets/insetgraphics.C +++ b/src/insets/insetgraphics.C @@ -474,14 +474,14 @@ void InsetGraphics::readFigInset(LyXLex & lex) } else if (token == "subcaption") { if (lex.eatLine()) params_.subcaptionText = lex.getString(); - params_.subcaption = true; } else if (token == "label") { if (lex.next()); // kept for backwards compability. Delete in 0.13.x } else if (token == "angle") { - if (lex.next()) + if (lex.next()) { params_.rotate = true; params_.rotateAngle = lex.getFloat(); + } } else if (token == "size") { if (lex.next()) params_.lyxwidth = LyXLength(lex.getString()+"pt");