dlls/gdi32: Fix double->fixpoint conversion in freetype.c

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Sun Jun 29 17:23:07 CDT 2008

Just write it as simple as it is. The complicated old variant was broken
for negative numbers anyway (should have used floor(f) for value), and
used a wrong scaling factor of 0xFFFF instead of 0x10000 for the fractional
 dlls/gdi32/freetype.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 73660322ef33cd09e4fed68ba04ef11ef7cceebf.diff
Type: text/x-patch
Size: 841 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080630/2e13847f/attachment.bin 

More information about the wine-patches mailing list