summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2009-02-06 01:09:08 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2009-02-06 01:09:08 +0000
commitd76712a150c0f5602f3d3ba119c206b8c253ff25 (patch)
tree5fb9aa4aa2805aae3788030908bfa9fcd0774e1a /desktop
parent0ccdff104f422ba08e7827f64d62b058b0500420 (diff)
downloadnetsurf-d76712a150c0f5602f3d3ba119c206b8c253ff25.tar.gz
netsurf-d76712a150c0f5602f3d3ba119c206b8c253ff25.tar.bz2
pdf_plot_fill(): fixed wrong change made in r6363.
svn path=/trunk/netsurf/; revision=6368
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 bdc83a01e..b30545b60 100644
--- a/desktop/save_pdf/pdf_plotters.c
+++ b/desktop/save_pdf/pdf_plotters.c
@@ -243,7 +243,7 @@ bool pdf_plot_fill(int x0, int y0, int x1, int y1, colour c)
x1 = min(max(x1, 0), page_width);
y1 = min(max(y1, 0), page_height);
- HPDF_Page_Rectangle(pdf_page, x0, page_height, x1 - x0, y0 - y1);
+ HPDF_Page_Rectangle(pdf_page, x0, page_height - y1, x1 - x0, y1 - y0);
HPDF_Page_Fill(pdf_page);
return true;