Module: wine Branch: master Commit: 1d91c196e71413b9c72aebc2c4b8df246985fea0 URL: https://source.winehq.org/git/wine.git/?a=commit;h=1d91c196e71413b9c72aebc2c...
Author: Piotr Caban piotr@codeweavers.com Date: Fri Jan 3 19:41:56 2020 +0100
ucrtbase: Fix 0 parsing in parse_double.
Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/msvcrt/string.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/msvcrt/string.c b/dlls/msvcrt/string.c index 796b0134c5..78a115550c 100644 --- a/dlls/msvcrt/string.c +++ b/dlls/msvcrt/string.c @@ -710,6 +710,7 @@ double parse_double(MSVCRT_wchar_t (*get)(void *ctx), void (*unget)(void *ctx), }
if(nch == '0') { + found_digit = TRUE; nch = get(ctx); if(nch == 'x' || nch == 'X') return strtod16(get, unget, ctx, sign, locinfo, err);