summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2009-02-01 22:05:56 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2009-02-01 22:05:56 +0000
commit1047428df599b1eec02f3a45aca2f69aeffff059 (patch)
tree17f3e43e15a905acd51f98de4cb67faef62696bf /desktop
parent350ab680770bfe7cab05c517471af0f28e40a179 (diff)
downloadnetsurf-1047428df599b1eec02f3a45aca2f69aeffff059.tar.gz
netsurf-1047428df599b1eec02f3a45aca2f69aeffff059.tar.bz2
Hook in our own libharu copy in the build.
svn path=/trunk/netsurf/; revision=6343
Diffstat (limited to 'desktop')
-rw-r--r--desktop/save_pdf/pdf_plotters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/save_pdf/pdf_plotters.c b/desktop/save_pdf/pdf_plotters.c
index b4a460cc1..5623416dc 100644
--- a/desktop/save_pdf/pdf_plotters.c
+++ b/desktop/save_pdf/pdf_plotters.c
@@ -505,7 +505,7 @@ HPDF_Image pdf_extract_image(struct bitmap *bitmap, struct content *content)
img_width, img_height,
HPDF_CS_DEVICE_RGB, 8);
- if (HPDF_Image_AddSMask(pdf_doc, image, smask) != HPDF_OK)
+ if (HPDF_Image_AddSMask(image, smask) != HPDF_OK)
image = NULL;
free(rgb_buffer);