(Herbert): nit-picking!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3977 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-04-11 18:40:59 +00:00
parent b9e3315265
commit 4036639aa5
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-04-08 Herbert Voss <voss@perce.de>
* insetgraphic.C (write): write the rotating angle as
a float as is. test only for != 0.0
2002-04-11 Juergen Vigna <jug@sad.it>
* insettext.C: new function ciy() and use it for setting inset_y.

View File

@ -198,7 +198,7 @@ void InsetGraphicsParams::Write(ostream & os) const
os << "\tkeepAspectRatio\n";
if (rotate)
os << "\trotate\n";
if (!lyx::float_equal(rotateAngle, 0.0, 0.001))
if (rotateAngle != 0.0)
os << "\trotateAngle " << rotateAngle << '\n';
if (!rotateOrigin.empty())
os << "\trotateOrigin " << rotateOrigin << '\n';