summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stream/obj_print.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stream/obj_print.c b/stream/obj_print.c
index 8d7ffd55..fcbebffd 100644
--- a/stream/obj_print.c
+++ b/stream/obj_print.c
@@ -315,6 +315,7 @@ void
fz_debugobj(fz_obj *obj)
{
char buf[1024];
+ char newline = '\n';
char *ptr;
int n;
@@ -333,5 +334,8 @@ fz_debugobj(fz_obj *obj)
fwrite(ptr, 1, n, stdout);
fz_free(ptr);
}
+
+ fwrite(&newline, 1, 1, stdout);
+ fflush(stdout);
}