[RESENT] OLEAUT32: Floating point locale, no negative zero

Alex Villací­s Lasso a_villacis at palosanto.com
Wed May 25 12:39:13 CDT 2005


Yet another attempt to resend these changes. These changes fix problems 
in MP3GainGUI (http://bugs.winehq.org/show_bug.cgi?id=2474). Patch 
includes test for negative zero. Please comment on whether this patch 
should be improved.

Changelog:
* VARIANT_BstrFromReal(): Do not return a negative zero (-0) as a result 
of a negative underflow; return "0" instead. Some applications depend on 
this.
* VARIANT_BstrFromReal(): All decimal numbers must use locale-specified 
decimal separator, even when LOCALE_USE_NLS is not specified. Such is 
the behavior of native oleaut32.

Alex Villacís Lasso

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-oleaut32-vartype-locale_plus_negative_zero_resend_try2.patch
Type: text/x-patch
Size: 2778 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050525/978180f5/wine-oleaut32-vartype-locale_plus_negative_zero_resend_try2.bin


More information about the wine-patches mailing list