summaryrefslogtreecommitdiff
path: root/riscos/plotters.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/plotters.c')
-rw-r--r--riscos/plotters.c4
1 files changed, 2 insertions, 2 deletions
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;