Repair jv_show

This commit is contained in:
Andrew Rodland committed 2014-02-26 01:43:00 -06:00
1 parent 36e495da1e
commit 6c3683dfe9
1 file changed
+2 -1
+2 -1
View File
@@ -273,8 +273,9 @@ void jv_dump(jv x, int flags) {
void jv_show(jv x, int flags) { void jv_show(jv x, int flags) {
if (flags == -1) if (flags == -1)
flags = JV_PRINT_PRETTY | JV_PRINT_COLOUR | JV_PRINT_UNBUFFERED; flags = JV_PRINT_PRETTY | JV_PRINT_COLOUR;
jv_dumpf(jv_copy(x), stderr, flags); jv_dumpf(jv_copy(x), stderr, flags);
fflush(stderr);
} }
jv jv_dump_string(jv x, int flags) { jv jv_dump_string(jv x, int flags) {