ucrtbase: Fix 0 parsing in parse_double.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1d556188a7
commit
1d91c196e7
|
@ -710,6 +710,7 @@ double parse_double(MSVCRT_wchar_t (*get)(void *ctx), void (*unget)(void *ctx),
|
||||||
}
|
}
|
||||||
|
|
||||||
if(nch == '0') {
|
if(nch == '0') {
|
||||||
|
found_digit = TRUE;
|
||||||
nch = get(ctx);
|
nch = get(ctx);
|
||||||
if(nch == 'x' || nch == 'X')
|
if(nch == 'x' || nch == 'X')
|
||||||
return strtod16(get, unget, ctx, sign, locinfo, err);
|
return strtod16(get, unget, ctx, sign, locinfo, err);
|
||||||
|
|
Loading…
Reference in New Issue