diff options
| author | Simon Tatham <anakin@pobox.com> | 2021-09-13 11:04:59 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2021-09-13 11:04:59 +0100 |
| commit | 88358f064351e867c73e46783a239265ff9fef7a (patch) | |
| tree | 10639b554ae7ce4d09402a01ca5668a9cbf1721c /nullfe.c | |
| parent | d204978391141a68b338732ce24271402392534f (diff) | |
| download | puzzles-88358f064351e867c73e46783a239265ff9fef7a.zip puzzles-88358f064351e867c73e46783a239265ff9fef7a.tar.gz puzzles-88358f064351e867c73e46783a239265ff9fef7a.tar.bz2 puzzles-88358f064351e867c73e46783a239265ff9fef7a.tar.xz | |
Add 'const' to the draw_polygon coords array parameter.
Thanks to Mouse for spotting that it was missing.
Diffstat (limited to 'nullfe.c')
| -rw-r--r-- | nullfe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) {} |