summaryrefslogtreecommitdiff
path: root/fitz/obj_print.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2009-06-30 02:23:57 +0200
committerTor Andersson <tor@ghostscript.com>2009-06-30 02:23:57 +0200
commit0f66fa12ec2b514459e5f456b016ef719f041fc0 (patch)
tree68d7a4ec805a27c61b0b544fab038831978b731e /fitz/obj_print.c
parentd8706a2cd98b373f45efcbb6a1753551984dc43c (diff)
downloadmupdf-0f66fa12ec2b514459e5f456b016ef719f041fc0.tar.xz
Move dynamic objects (fz_obj) out of fitz and into mupdf conceptually. Make all fz_obj functions automatically and invisibly resolve indirect references before use.
Diffstat (limited to 'fitz/obj_print.c')
-rw-r--r--fitz/obj_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/obj_print.c b/fitz/obj_print.c
index 58ab1268..7cbcf709 100644
--- a/fitz/obj_print.c
+++ b/fitz/obj_print.c
@@ -275,7 +275,7 @@ static void fmtobj(struct fmt *fmt, fz_obj *obj)
fmtdict(fmt, obj);
break;
case FZ_INDIRECT:
- sprintf(buf, "%d %d R", obj->u.r.oid, obj->u.r.gid);
+ sprintf(buf, "%d %d R", obj->u.r.num, obj->u.r.gen);
fmtputs(fmt, buf);
break;
default: