diff options
Diffstat (limited to 'fitz/base_xml.c')
-rw-r--r-- | fitz/base_xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/base_xml.c b/fitz/base_xml.c index f2cf04bb..8c97562c 100644 --- a/fitz/base_xml.c +++ b/fitz/base_xml.c @@ -443,7 +443,7 @@ fz_parse_xml(fz_context *ctx, unsigned char *s, int n) { error = xml_parse_document_imp(&parser, p); if (error) - fz_throw(ctx, "%s", error); + fz_throw(ctx, FZ_ERROR_GENERIC, "%s", error); } fz_always(ctx) { |