summaryrefslogtreecommitdiff
path: root/xps/xps_resource.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-05-29 14:41:05 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-05-29 14:46:25 +0200
commitcff6f809da556624fb1de34725935278093182e1 (patch)
tree8d166dbabef2c34f3c0cd5ed6feb75476c8abd45 /xps/xps_resource.c
parentaa1801a463e711c19b09b9be34bf76b18fda126c (diff)
downloadmupdf-cff6f809da556624fb1de34725935278093182e1.tar.xz
Rename some find/lookup functions to be in line with documentation.
Diffstat (limited to 'xps/xps_resource.c')
-rw-r--r--xps/xps_resource.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xps/xps_resource.c b/xps/xps_resource.c
index b94b6d3e..3c0f8848 100644
--- a/xps/xps_resource.c
+++ b/xps/xps_resource.c
@@ -1,7 +1,7 @@
#include "muxps-internal.h"
static fz_xml *
-xps_find_resource(xps_document *doc, xps_resource *dict, char *name, char **urip)
+xps_lookup_resource(xps_document *doc, xps_resource *dict, char *name, char **urip)
{
xps_resource *head, *node;
for (head = dict; head; head = head->parent)
@@ -33,7 +33,7 @@ xps_parse_resource_reference(xps_document *doc, xps_resource *dict, char *att, c
if (s)
*s = 0;
- return xps_find_resource(doc, dict, name, urip);
+ return xps_lookup_resource(doc, dict, name, urip);
}
void