pdf_plot_fill(): fixed wrong change made in r6363.

svn path=/trunk/netsurf/; revision=6368
This commit is contained in:
John Tytgat 2009-02-06 01:09:08 +00:00
parent 0ccdff104f
commit d76712a150

View File

@ -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;