summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-01-21 23:40:07 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-01-21 23:40:07 +0000
commitedb7ae676994b39a7a960740c8769d96d1b4af1c (patch)
tree97cd60b43aac62d5dd1ff3fa177bd2d9981b452a /src
parent90326e6b0d35ac8ca81f40cc36a252a6ecd916d4 (diff)
downloadlibnsfb-edb7ae676994b39a7a960740c8769d96d1b4af1c.tar.gz
libnsfb-edb7ae676994b39a7a960740c8769d96d1b4af1c.tar.bz2
add missing const to polyline api
svn path=/trunk/libnsfb/; revision=9856
Diffstat (limited to 'src')
-rw-r--r--src/plot/api.c2
1 files changed, 1 insertions, 1 deletions
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);
}