瀏覽代碼

print_number: Fix comment (missing word 'zeroes')

Max Bruckner 8 年之前
父節點
當前提交
71b96afc27
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cJSON.c

+ 1 - 1
cJSON.c

@@ -417,7 +417,7 @@ static cJSON_bool print_number(const cJSON * const item, printbuffer * const out
     unsigned char *output_pointer = NULL;
     double d = item->valuedouble;
     int length = 0;
-    cJSON_bool trim_zeroes = true; /* should at the end be removed? */
+    cJSON_bool trim_zeroes = true; /* should zeroes at the end be removed? */
 
     if (output_buffer == NULL)
     {