summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdf-x/src/pdfnames.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdf-x/src/pdfnames.c')
-rw-r--r--Build/source/texk/dvipdf-x/src/pdfnames.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdf-x/src/pdfnames.c b/Build/source/texk/dvipdf-x/src/pdfnames.c
index 87ad8898bf9..28082c8b9a9 100644
--- a/Build/source/texk/dvipdf-x/src/pdfnames.c
+++ b/Build/source/texk/dvipdf-x/src/pdfnames.c
@@ -173,7 +173,7 @@ pdf_names_add_object (struct ht_table *names,
}
/*
- * The following routine returns a link to the original object.
+ * The following routine returns copies, not the original object.
*/
pdf_obj *
pdf_names_lookup_reference (struct ht_table *names,
@@ -197,7 +197,7 @@ pdf_names_lookup_reference (struct ht_table *names,
}
ASSERT(object);
- return pdf_link_obj(object);
+ return pdf_ref_obj(object);
}
pdf_obj *