msvcrt: Calculate floating point decimals in internally used long double precision.

This commit is contained in:
Gregor Schneider 2009-11-23 21:09:02 +01:00 committed by Alexandre Julliard
parent b585b24397
commit 2043035e17
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ _FUNCTION_ {
}
/* handle decimals */
if (width!=0 && nch == '.') {
float dec = 1;
long double dec = 1;
nch = _GETC_(file);
if (width>0) width--;
while (width!=0 && (nch!=_EOF_) && _ISDIGIT_(nch)) {