oleaut32: Do not skip the first decimal digit in VarParseNumFromStr().
commita4ba88c0ff25c71687fd26792cda40c20d8eaed1
authorDavid Kahurani <k.kahurani@gmail.com>
Mon, 7 Mar 2022 17:47:31 +0000 (7 18:47 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Mar 2022 19:53:12 +0000 (7 20:53 +0100)
tree19e0e930571fe65cd36221e063a05ced4f6b6016
parent3c2e6efb5a6b077ccd6eac2190e16829882ee333
oleaut32: Do not skip the first decimal digit in VarParseNumFromStr().

Add more tests to probe what happens if the integral part is omitted.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52476
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