diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-02 23:24:07 +0000 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-12-02 23:24:07 +0000 |
commit | 5b45184a1a79372630df76c0e840f4fffcce9494 (patch) | |
tree | 496c4a58c48cfc63aa9e5a39df04503ba548a8c0 /jv_print.c | |
parent | 11965aaa2e9cf2b09c431e682cdc459b99de60fb (diff) |
Make the -c output more compact. Closes #44.
Diffstat (limited to 'jv_print.c')
-rw-r--r-- | jv_print.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -144,7 +144,7 @@ static void jv_dump_term(struct dtoa_context* C, jv x, int flags, int indent, FI put_str(",\n", F, S); put_space(indent+INDENT, F, S); } else { - put_str(", ", F, S); + put_str(",", F, S); } } jv_dump_term(C, jv_array_get(jv_copy(x), i), flags, indent + INDENT, F, S); @@ -173,12 +173,12 @@ static void jv_dump_term(struct dtoa_context* C, jv x, int flags, int indent, FI put_str(",\n", F, S); put_space(indent+INDENT, F, S); } else { - put_str(", ", F, S); + put_str(",", F, S); } } first = 0; jv_dump_term(C, jv_object_iter_key(x, i), flags, indent + INDENT, F, S); - put_str(": ", F, S); + put_str(":", F, S); jv_dump_term(C, jv_object_iter_value(x, i), flags, indent + INDENT, F, S); } if (flags & JV_PRINT_PRETTY) { |