From 59641def822ba66ed9bf3ae73ed53dffe45a992c Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Mon, 7 Apr 2008 11:15:09 +0000 Subject: const fixes in plotters and history core svn path=/trunk/netsurf/; revision=4083 --- riscos/print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riscos/print.c') diff --git a/riscos/print.c b/riscos/print.c index 411e80a15..66d1774e1 100644 --- a/riscos/print.c +++ b/riscos/print.c @@ -106,7 +106,7 @@ static bool print_fonts_plot_polygon(int *p, unsigned int n, colour fill); static bool print_fonts_plot_fill(int x0, int y0, int x1, int y1, colour c); static bool print_fonts_plot_clip(int clip_x0, int clip_y0, int clip_x1, int clip_y1); -static bool print_fonts_plot_text(int x, int y, struct css_style *style, +static bool print_fonts_plot_text(int x, int y, const struct css_style *style, const char *text, size_t length, colour bg, colour c); static bool print_fonts_plot_disc(int x, int y, int radius, colour c, bool filled); @@ -843,7 +843,7 @@ bool print_fonts_plot_group_end(void) { return true; } * Plotter for text plotting during font listing. */ -bool print_fonts_plot_text(int x, int y, struct css_style *style, +bool print_fonts_plot_text(int x, int y, const struct css_style *style, const char *text, size_t length, colour bg, colour c) { const char *font_family; -- cgit v1.2.3