Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreRenaud committed Sep 26, 2023
1 parent 949d36c commit 7abe6d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pdfgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -3392,7 +3392,9 @@ static int pdf_add_image(struct pdf_doc *pdf, struct pdf_object *page,
return pdf_set_err(pdf, -EINVAL, "Invalid pdf page");

if (image->type != OBJ_image)
return pdf_set_err(pdf, -EINVAL, "adding an image, but wrong object type %d", image->type);
return pdf_set_err(pdf, -EINVAL,
"adding an image, but wrong object type %d",
image->type);

if (image->stream.page != NULL)
return pdf_set_err(pdf, -EEXIST, "image already on a page");
Expand Down

0 comments on commit 7abe6d8

Please sign in to comment.