mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Add 'const' to the draw_polygon coords array parameter.
Thanks to Mouse for spotting that it was missing.
This commit is contained in:
2
osx.m
2
osx.m
@ -1344,7 +1344,7 @@ struct frontend {
|
||||
/*
|
||||
* Drawing routines called by the midend.
|
||||
*/
|
||||
static void osx_draw_polygon(void *handle, int *coords, int npoints,
|
||||
static void osx_draw_polygon(void *handle, const int *coords, int npoints,
|
||||
int fillcolour, int outlinecolour)
|
||||
{
|
||||
frontend *fe = (frontend *)handle;
|
||||
|
Reference in New Issue
Block a user