diff options
Diffstat (limited to 'xps/xps_resource.c')
-rw-r--r-- | xps/xps_resource.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xps/xps_resource.c b/xps/xps_resource.c index 658129c9..5c927e1d 100644 --- a/xps/xps_resource.c +++ b/xps/xps_resource.c @@ -75,6 +75,7 @@ xps_parse_remote_resource_dictionary(xps_document *doc, char *base_uri, char *so } fz_catch(ctx) { + /* FIXME: TryLater ? */ xml = NULL; } @@ -84,7 +85,7 @@ xps_parse_remote_resource_dictionary(xps_document *doc, char *base_uri, char *so if (strcmp(fz_xml_tag(xml), "ResourceDictionary")) { fz_free_xml(doc->ctx, xml); - fz_throw(doc->ctx, "expected ResourceDictionary element"); + fz_throw(doc->ctx, FZ_ERROR_GENERIC, "expected ResourceDictionary element"); } fz_strlcpy(part_uri, part_name, sizeof part_uri); |