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:
@ -117,7 +117,7 @@ void draw_thick_line(drawing *dr, float thickness,
|
||||
}
|
||||
}
|
||||
|
||||
void draw_polygon(drawing *dr, int *coords, int npoints,
|
||||
void draw_polygon(drawing *dr, const int *coords, int npoints,
|
||||
int fillcolour, int outlinecolour)
|
||||
{
|
||||
dr->api->draw_polygon(dr->handle, coords, npoints, fillcolour,
|
||||
|
Reference in New Issue
Block a user