27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
diff -r -w -u0 willuslib/wmupdfinfo.c willuslib/wmupdfinfo.c
|
|
--- willuslib/wmupdfinfo.c 2018-11-21 10:05:22.000000000 +0100
|
|
+++ willuslib/wmupdfinfo.c 2019-07-27 19:56:23.418595275 +0200
|
|
@@ -217 +217 @@
|
|
- pdf_print_obj(ctx, out, pdf_resolve_indirect(ctx, obj), 1);
|
|
+ pdf_print_obj(ctx, out, pdf_resolve_indirect(ctx, obj), 1, 1);
|
|
@@ -224 +224 @@
|
|
- pdf_print_obj(ctx, out, pdf_resolve_indirect(ctx, obj), 1);
|
|
+ pdf_print_obj(ctx, out, pdf_resolve_indirect(ctx, obj), 1, 1);
|
|
@@ -240 +240 @@
|
|
- n=pdf_sprint_obj(ctx,NULL,0,robj,1);
|
|
+ char* f = pdf_sprint_obj(ctx,NULL,0,&n,robj,1,1);
|
|
@@ -245 +245 @@
|
|
- pdf_print_obj(ctx,out,robj,1);
|
|
+ pdf_print_obj(ctx,out,robj,1,1);
|
|
@@ -249 +249,2 @@
|
|
- pdf_sprint_obj(ctx,buf,n+2,robj,1);
|
|
+ int len = 0;
|
|
+ char* d = pdf_sprint_obj(ctx,buf,n+2,&len,robj,1,1);
|
|
@@ -256,0 +258 @@
|
|
+ fz_free(ctx, d);
|
|
@@ -257,0 +260 @@
|
|
+ fz_free(ctx, f);
|
|
@@ -278 +281 @@
|
|
- pdf_print_obj(ctx,out, pdf_resolve_indirect(ctx,obj), 1);
|
|
+ pdf_print_obj(ctx,out, pdf_resolve_indirect(ctx,obj), 1, 1);
|