summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-object.c')
-rw-r--r--source/pdf/pdf-object.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/pdf/pdf-object.c b/source/pdf/pdf-object.c
index 1576525e..88ed25e5 100644
--- a/source/pdf/pdf-object.c
+++ b/source/pdf/pdf-object.c
@@ -1742,12 +1742,11 @@ pdf_fprint_obj(FILE *fp, pdf_obj *obj, int tight)
return n;
}
-int pdf_output_obj(fz_output *out, pdf_obj *obj)
+int pdf_output_obj(fz_output *out, pdf_obj *obj, int tight)
{
char buf[1024];
char *ptr;
int n;
- int tight = 1;
n = pdf_sprint_obj(NULL, 0, obj, tight);
if ((n + 1) < sizeof buf)