[Bug 51450] oleaut32:varformat fails in Wine when the currency sign follows the amount
WineHQ Bugzilla
wine-bugs at winehq.org
Wed Jul 21 07:48:40 CDT 2021
https://bugs.winehq.org/show_bug.cgi?id=51450
François Gouget <fgouget at codeweavers.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Fixed by SHA1| |e02a7e579cc48079d70f2ef0095
| |7255d28d119d6
--- Comment #1 from François Gouget <fgouget at codeweavers.com> ---
The failure in varformat is fixed:
commit e02a7e579cc48079d70f2ef00957255d28d119d6
Author: Francois Gouget <fgouget at codeweavers.com>
AuthorDate: Tue Jul 20 14:02:12 2021 +0200
oleaut32: VarParseNumFromStr() accepts trailing currency symbols.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51450
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
I'm a bit surprised that the (regular) space between the amount and the
currency symbol is not causing trouble here. Maybe it's because
VarFormatCurrency() ends up using NUMPRS_STD which includes
NUMPRS_TRAILING_WHITE (but the space is not trailing), or because
NUMPRS_THOUSANDS (though as far as I know that only matches non-breaking spaces
in Wine currently).
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list