mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Apply that width fudge irrespective of library version. Make it slightly more
conservative (add only 2, not 5). Could people test please. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4623 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6ae1cb1d6c
commit
a72387b287
@ -1,3 +1,7 @@
|
||||
2002-07-12 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* xformsImage.C (width): apply fudge irrespective of library version.
|
||||
|
||||
2002-07-12 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* Toolbar_pimpl.h:
|
||||
@ -39,7 +43,7 @@
|
||||
2002-07-09 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* xformsImage.C (scale): use boost::tie.
|
||||
(statusCB): fudge to fix bug in image width for xforms <= 0.89.6.
|
||||
(width): fudge to fix bug in image width for xforms <= 0.89.6.
|
||||
|
||||
2002-07-08 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
|
@ -153,13 +153,9 @@ unsigned int xformsImage::getWidth() const
|
||||
if (!image_)
|
||||
return 0;
|
||||
|
||||
#if FL_VERSION == 0 && FL_REVISION == 89 && FL_FIXLEVEL <= 6
|
||||
// Used to fix a bug in xforms <= 0.89.6 which
|
||||
// crops the image unnecessarily.
|
||||
return image_->w + 5;
|
||||
#else
|
||||
return image_->w;
|
||||
#endif
|
||||
// Why, oh why do we need such hacks?
|
||||
// Angus 12 July 2002
|
||||
return image_->w + 2;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user