6 Jun
2001
6 Jun
'01
11:47 a.m.
On Tue, Jun 05, 2001 at 06:12:27PM -0500, Ian Pilcher wrote:
While poking around in gdi.h, I came upon the following:
static inline INT WINE_UNUSED INTERNAL_YWSTODS(DC *dc, INT height) { FLOAT floatHeight;
/* Perform operation with floating point */ floatHeight = (FLOAT)height; INTERNAL_XWSTODS_FLOAT(dc, &floatHeight);
/* Round to integers */ return GDI_ROUND(floatHeight); }
Shouldn't one of these (probably INTERNAL_YWSTODS) be calling INTERNAL_YWSTODS_FLOAT instead of INTERNAL_XWSTODS_FLOAT?
Yes, well spotted. This one should indeed be calling INTERNAL_YWSTODS_FLOAT [This stuff is a mess anyway, but that's a different sotry...]. Huw.