diff options
author | John Tytgat <joty@netsurf-browser.org> | 2008-07-26 22:29:15 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2008-07-26 22:29:15 +0000 |
commit | 5f6c2cbff7cd778b6487943d62e71ff9e7b04893 (patch) | |
tree | 2755ac7fd68397c47142e4ba030b8212e16862b2 /pdf | |
parent | aae686d90a3741293c6b3f2d15c7e2976b72adb9 (diff) | |
download | netsurf-5f6c2cbff7cd778b6487943d62e71ff9e7b04893.tar.gz netsurf-5f6c2cbff7cd778b6487943d62e71ff9e7b04893.tar.bz2 |
- Compiler warning squash
- Changed a lineending \n\r -> \n for a couple of files.
- More code style conformance.
svn path=/trunk/netsurf/; revision=4762
Diffstat (limited to 'pdf')
-rw-r--r-- | pdf/font_haru.c | 2 | ||||
-rw-r--r-- | pdf/pdf_plotters.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pdf/font_haru.c b/pdf/font_haru.c index 555570ef0..de89d6494 100644 --- a/pdf/font_haru.c +++ b/pdf/font_haru.c @@ -177,8 +177,6 @@ bool haru_nsfont_position_in_string(const struct css_style *style, char *string_nt; HPDF_UINT offset; HPDF_REAL real_width; - HPDF_REAL width; - if (!haru_nsfont_init(&pdf, &page, string, &string_nt, length)) return false; diff --git a/pdf/pdf_plotters.c b/pdf/pdf_plotters.c index c641eef8f..49828a0a6 100644 --- a/pdf/pdf_plotters.c +++ b/pdf/pdf_plotters.c @@ -79,7 +79,9 @@ static HPDF_Image pdf_extract_image(struct bitmap *bitmap, struct content *conte static void error_handler(HPDF_STATUS error_no, HPDF_STATUS detail_no, void*user_data); +#ifdef PDF_DEBUG static void pdf_plot_grid(int x_dist,int y_dist,unsigned int colour); +#endif /*PDF Plotter - current doc,page and font*/ static HPDF_Doc pdf_doc; |