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
nullfe.c
2
nullfe.c
@ -15,7 +15,7 @@ void draw_rect(drawing *dr, int x, int y, int w, int h, int colour) {}
|
||||
void draw_line(drawing *dr, int x1, int y1, int x2, int y2, int colour) {}
|
||||
void draw_thick_line(drawing *dr, float thickness,
|
||||
float x1, float y1, float x2, float y2, int colour) {}
|
||||
void draw_polygon(drawing *dr, int *coords, int npoints,
|
||||
void draw_polygon(drawing *dr, const int *coords, int npoints,
|
||||
int fillcolour, int outlinecolour) {}
|
||||
void draw_circle(drawing *dr, int cx, int cy, int radius,
|
||||
int fillcolour, int outlinecolour) {}
|
||||
|
Reference in New Issue
Block a user