chiark / gitweb /
New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt-puzzles.git] / flip.c
diff --git a/flip.c b/flip.c
index 6ba683b4adacaca7c68bb4d26435cd43319f3cd1..c30e484bea4fd7b21729fc568132ecf38542bdb5 100644 (file)
--- a/flip.c
+++ b/flip.c
@@ -899,7 +899,7 @@ struct game_drawstate {
     int tilesize;
 };
 
-static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
+static char *interpret_move(game_state *state, game_ui *ui, const game_drawstate *ds,
                            int x, int y, int button)
 {
     int w = state->w, h = state->h, wh = w * h;