summaryrefslogtreecommitdiff
path: root/apps/pdfclean.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-09-27 10:48:31 +0000
committerTor Andersson <tor@ghostscript.com>2010-09-27 10:48:31 +0000
commit34d36dfeb3177b6a0a33d4302638bcee3afdb754 (patch)
treebbbc67b776e57188b27f3ed908e983be9bd52582 /apps/pdfclean.c
parenta50edd91852a104a0f7d2e85187fbaefc6cc8a33 (diff)
downloadmupdf-34d36dfeb3177b6a0a33d4302638bcee3afdb754.tar.xz
Fix typo.
Diffstat (limited to 'apps/pdfclean.c')
-rw-r--r--apps/pdfclean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfclean.c b/apps/pdfclean.c
index 733bf056..87d6e9c3 100644
--- a/apps/pdfclean.c
+++ b/apps/pdfclean.c
@@ -70,7 +70,7 @@ static void sweepobj(fz_obj *obj)
static void sweepref(fz_obj *obj)
{
int num = fz_tonum(obj);
- int gen = fz_tonum(obj);
+ int gen = fz_togen(obj);
if (num < 0 || num >= xref->len)
return;