mirror of https://github.com/axmolengine/axmol.git
Fix lua-cjson assert mismatch
This commit is contained in:
parent
23b6c1d549
commit
b5e1e78417
|
@ -153,7 +153,7 @@ static void set_number_format(char *fmt, int precision)
|
||||||
{
|
{
|
||||||
int d1, d2, i;
|
int d1, d2, i;
|
||||||
|
|
||||||
assert(1 <= precision && precision <= 14);
|
assert(1 <= precision && precision <= 17);
|
||||||
|
|
||||||
/* Create printf format (%.14g) from precision */
|
/* Create printf format (%.14g) from precision */
|
||||||
d1 = precision / 10;
|
d1 = precision / 10;
|
||||||
|
|
Loading…
Reference in New Issue