mirror of
https://github.com/DaveGamble/cJSON.git
synced 2025-01-14 19:48:00 +08:00
Fix indentation (should use spaces)
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
acc76239be
commit
8a334b0140
8
cJSON.c
8
cJSON.c
@ -570,10 +570,10 @@ static cJSON_bool print_number(const cJSON * const item, printbuffer * const out
|
|||||||
{
|
{
|
||||||
length = sprintf((char*)number_buffer, "null");
|
length = sprintf((char*)number_buffer, "null");
|
||||||
}
|
}
|
||||||
else if(d == (double)item->valueint)
|
else if(d == (double)item->valueint)
|
||||||
{
|
{
|
||||||
length = sprintf((char*)number_buffer, "%d", item->valueint);
|
length = sprintf((char*)number_buffer, "%d", item->valueint);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Try 15 decimal places of precision to avoid nonsignificant nonzero digits */
|
/* Try 15 decimal places of precision to avoid nonsignificant nonzero digits */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user