From edb7ae676994b39a7a960740c8769d96d1b4af1c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 21 Jan 2010 23:40:07 +0000 Subject: add missing const to polyline api svn path=/trunk/libnsfb/; revision=9856 --- src/plot/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plot') diff --git a/src/plot/api.c b/src/plot/api.c index a3f212d..95644cc 100644 --- a/src/plot/api.c +++ b/src/plot/api.c @@ -79,7 +79,7 @@ bool nsfb_plot_lines(nsfb_t *nsfb, int linec, nsfb_bbox_t *line, nsfb_plot_pen_t return nsfb->plotter_fns->line(nsfb, linec, line, pen); } -bool nsfb_plot_polylines(nsfb_t *nsfb, int pointc, nsfb_point_t *points, nsfb_plot_pen_t *pen) +bool nsfb_plot_polylines(nsfb_t *nsfb, int pointc, const nsfb_point_t *points, nsfb_plot_pen_t *pen) { return nsfb->plotter_fns->polylines(nsfb, pointc, points, pen); } -- cgit v1.2.3