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/plotters.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riscos/plotters.c') diff --git a/riscos/plotters.c b/riscos/plotters.c index 1044df3a4..da890abad 100644 --- a/riscos/plotters.c +++ b/riscos/plotters.c @@ -46,7 +46,7 @@ static bool ro_plot_path(float *p, unsigned int n, colour fill, float width, static bool ro_plot_fill(int x0, int y0, int x1, int y1, colour c); static bool ro_plot_clip(int clip_x0, int clip_y0, int clip_x1, int clip_y1); -static bool ro_plot_text(int x, int y, struct css_style *style, +static bool ro_plot_text(int x, int y, const struct css_style *style, const char *text, size_t length, colour bg, colour c); static bool ro_plot_disc(int x, int y, int radius, colour colour, bool filled); static bool ro_plot_arc(int x, int y, int radius, int angle1, int angle2, @@ -395,7 +395,7 @@ bool ro_plot_clip(int clip_x0, int clip_y0, } -bool ro_plot_text(int x, int y, struct css_style *style, +bool ro_plot_text(int x, int y, const struct css_style *style, const char *text, size_t length, colour bg, colour c) { os_error *error; -- cgit v1.2.3