Skip to content

Commit

Permalink
Fix indentation (should use spaces)
Browse files Browse the repository at this point in the history
Signed-off-by: DL6ER <[email protected]>
  • Loading branch information
DL6ER authored and Alanscut committed May 14, 2024
1 parent acc7623 commit 8a334b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cJSON.c
Original file line number Diff line number Diff line change
Expand Up @@ -570,10 +570,10 @@ static cJSON_bool print_number(const cJSON * const item, printbuffer * const out
{
length = sprintf((char*)number_buffer, "null");
}
else if(d == (double)item->valueint)
{
length = sprintf((char*)number_buffer, "%d", item->valueint);
}
else if(d == (double)item->valueint)
{
length = sprintf((char*)number_buffer, "%d", item->valueint);
}
else
{
/* Try 15 decimal places of precision to avoid nonsignificant nonzero digits */
Expand Down

0 comments on commit 8a334b0

Please sign in to comment.