summaryrefslogtreecommitdiff
path: root/xps/xpspage.c
diff options
context:
space:
mode:
Diffstat (limited to 'xps/xpspage.c')
-rw-r--r--xps/xpspage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xps/xpspage.c b/xps/xpspage.c
index aa5a96b4..32439f19 100644
--- a/xps/xpspage.c
+++ b/xps/xpspage.c
@@ -94,7 +94,7 @@ xps_parse_fixed_page(xps_context *ctx, fz_matrix ctm, xps_page *page)
char *s;
int code;
- xps_strlcpy(base_uri, page->name, sizeof base_uri);
+ fz_strlcpy(base_uri, page->name, sizeof base_uri);
s = strrchr(base_uri, '/');
if (s)
s[1] = 0;