diff options
author | Freya Murphy <freya@freyacat.org> | 2023-12-16 20:09:24 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2023-12-16 20:09:24 -0500 |
commit | 081bdb70628163768a7361be10772c11980b5536 (patch) | |
tree | ea979fb19da3285ca369acaaba4bf985d19971a9 /src/json/print.c | |
parent | use hashmap for compound tag (diff) | |
download | nbtvis-081bdb70628163768a7361be10772c11980b5536.tar.gz nbtvis-081bdb70628163768a7361be10772c11980b5536.tar.bz2 nbtvis-081bdb70628163768a7361be10772c11980b5536.zip |
snbt
Diffstat (limited to '')
-rw-r--r-- | src/json/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json/print.c b/src/json/print.c index 9f2931f..ab154b9 100644 --- a/src/json/print.c +++ b/src/json/print.c @@ -160,7 +160,7 @@ static bool json_print_data(const tag_t *tag, const stream_t *stream, int depth) static bool json_print_impl(const tag_t *tag, const stream_t *stream, int depth) { if (tag->name_len > 0) { - printi(stream, depth, "\"%.*s\":\t", tag->name_len, tag->name); + printi(stream, depth, "\"%.*s\": ", tag->name_len, tag->name); } else { for (int i = 0; i < depth; i++) printi(stream, 0, "\t"); |