oleaut32: Setting sThousand to a non-breaking space also matches regular spaces.
commitc50dff867d797f7c43a8a319afb735fea6e8bf31
authorFrancois Gouget <fgouget@codeweavers.com>
Wed, 21 Jul 2021 22:03:43 +0000 (22 00:03 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 22 Jul 2021 11:14:59 +0000 (22 13:14 +0200)
treeaa4a2e310f1feae8ae1a44d3e36a2ee02355c843
parent4eb35fb2375fa9d1ce3d35d6d3911ee6e449acfe
oleaut32: Setting sThousand to a non-breaking space also matches regular spaces.

As the test_VarParseNumFromStrMisc() tests show the converse is not
true.
Note also that the " 1 000" test was failing as expected because in
the French locale Wine was not recognizing regular spaces as thousands
separators. Now it does and Wine incorrectly allows them before the
first digit, just like it does for the English tests.

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>
dlls/oleaut32/tests/vartest.c
dlls/oleaut32/variant.c