diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-11-07 19:52:20 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-11-07 20:02:57 +0100 |
commit | 9fa1d05e32851ca78cabae17f038df3f496a4138 (patch) | |
tree | 6524c77183fd4f8ad241414eab0773d312ed8d98 | |
parent | 3fd28b4c54d884efa6efdd7a07b2e14ece5c3b88 (diff) | |
download | mupdf-9fa1d05e32851ca78cabae17f038df3f496a4138.tar.xz |
Resolve objects in pdf_debug_obj().
-rw-r--r-- | source/pdf/pdf-object.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/pdf/pdf-object.c b/source/pdf/pdf-object.c index 295cfc5c..3047c74b 100644 --- a/source/pdf/pdf-object.c +++ b/source/pdf/pdf-object.c @@ -2143,6 +2143,12 @@ static int pdf_debug_encrypted_obj(fz_context *ctx, pdf_obj *obj, int tight, pdf void pdf_debug_obj(fz_context *ctx, pdf_obj *obj) { + pdf_debug_encrypted_obj(ctx, pdf_resolve_indirect(ctx, obj), 0, NULL, 0, 0); + putchar('\n'); +} + +void pdf_debug_ref(fz_context *ctx, pdf_obj *obj) +{ pdf_debug_encrypted_obj(ctx, obj, 0, NULL, 0, 0); putchar('\n'); } |