summaryrefslogtreecommitdiffstats
path: root/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream.c')
-rw-r--r--stream.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/stream.c b/stream.c
index 55b501c1..87957587 100644
--- a/stream.c
+++ b/stream.c
@@ -3218,10 +3218,7 @@ val formatv(val stream_in, val fmtstr, struct args *al)
continue;
}
}
- if (ch == 'a')
- obj_pprint(obj, stream);
- else
- obj_print(obj, stream);
+ obj_print(obj, stream, if2(ch == 'a', t));
continue;
case 'p':
{