%f conversion bug fix
Submitted by: Henrik Eriksson <henrik.eriksson@axis.com>
This commit is contained in:
parent
06a2b07bb0
commit
bf401a2aef
1 changed files with 1 additions and 1 deletions
|
@ -640,7 +640,7 @@ fmtfp(
|
|||
(caps ? "0123456789ABCDEF"
|
||||
: "0123456789abcdef")[fracpart % 10];
|
||||
fracpart = (fracpart / 10);
|
||||
} while (fracpart && (fplace < 20));
|
||||
} while (fplace < max);
|
||||
if (fplace == 20)
|
||||
fplace--;
|
||||
fconvert[fplace] = 0;
|
||||
|
|
Loading…
Reference in a new issue