chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup: remove the game_state parameter to game_colours(). No game
[sgt-puzzles.git]
/
mines.c
diff --git
a/mines.c
b/mines.c
index b9bb7c93b912b0fe8b5cb5c5f02ff8169ca687dc..c500ac43223323cb045cc456656a63429cfc2b92 100644
(file)
--- a/
mines.c
+++ b/
mines.c
@@
-2638,7
+2638,7
@@
static void game_set_size(drawing *dr, game_drawstate *ds,
ds->tilesize = tilesize;
}
-static float *game_colours(frontend *fe,
game_state *state,
int *ncolours)
+static float *game_colours(frontend *fe, int *ncolours)
{
float *ret = snewn(3 * NCOLOURS, float);