https://bugs.winehq.org/show_bug.cgi?id=51450
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |e02a7e579cc48079d70f2ef0095 | |7255d28d119d6
--- Comment #1 from François Gouget fgouget@codeweavers.com --- The failure in varformat is fixed:
commit e02a7e579cc48079d70f2ef00957255d28d119d6 Author: Francois Gouget fgouget@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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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).