From 1d91c196e71413b9c72aebc2c4b8df246985fea0 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Fri, 3 Jan 2020 19:41:56 +0100 Subject: [PATCH] ucrtbase: Fix 0 parsing in parse_double. Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- dlls/msvcrt/string.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/msvcrt/string.c b/dlls/msvcrt/string.c index 796b0134c59..78a115550ca 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);