oleaut32: Fix VarParseNumFromStr()'s support for trailing thousands separator spaces.
commitc2aeb915f4fc05d596aec0ff43f5e5f26569cd21
authorFrancois Gouget <fgouget@codeweavers.com>
Wed, 21 Jul 2021 22:03:49 +0000 (22 00:03 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 22 Jul 2021 11:15:12 +0000 (22 13:15 +0200)
treea55a4d407aff422f7573b725232457622c5b3a7c
parentde70f7289e23e895956927e7e3ce2ed23a188e77
oleaut32: Fix VarParseNumFromStr()'s support for trailing thousands separator spaces.

If a trailing character is a thousands separator, VarParseNumFromStr()
only processes it if NUMPRS_THOUSANDS was specified; even if that
character is also a space and NUMPRS_TRAILING_WHITE was specified.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/oleaut32/tests/vartest.c
dlls/oleaut32/variant.c