From 8a334b014038ef02065fcd41e6096c99102bcc36 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 26 Dec 2023 09:44:51 +0100 Subject: [PATCH] Fix indentation (should use spaces) Signed-off-by: DL6ER --- cJSON.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cJSON.c b/cJSON.c index 61483d9..cac1164 100644 --- a/cJSON.c +++ b/cJSON.c @@ -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 */