diff options
Diffstat (limited to 'Build/source/texk/dvipdfm-x/pdfximage.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfximage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfximage.c b/Build/source/texk/dvipdfm-x/pdfximage.c index 016583fdd56..275f6777b5b 100644 --- a/Build/source/texk/dvipdfm-x/pdfximage.c +++ b/Build/source/texk/dvipdfm-x/pdfximage.c @@ -415,7 +415,8 @@ pdf_ximage_load_image (const char *ident, const char *filename, load_options opt } if (id >= 0) { if (I->attr.page_no == options.page_no && - strcmp(I->attr.page_name, options.page_name) == 0 && + (I->attr.page_name && options.page_name && + strcmp(I->attr.page_name, options.page_name) == 0) && !pdf_compare_object(I->attr.dict, options.dict) && /* ????? */ I->attr.bbox_type == options.bbox_type) { return id; |