From 5f6c2cbff7cd778b6487943d62e71ff9e7b04893 Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Sat, 26 Jul 2008 22:29:15 +0000 Subject: - Compiler warning squash - Changed a lineending \n\r -> \n for a couple of files. - More code style conformance. svn path=/trunk/netsurf/; revision=4762 --- pdf/font_haru.c | 2 -- pdf/pdf_plotters.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pdf') 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; -- cgit v1.2.3