New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt/puzzles] / mines.c
diff --git a/mines.c b/mines.c
index 7801ab4..abd1ad8 100644 (file)
--- a/mines.c
+++ b/mines.c
@@ -2415,7 +2415,7 @@ struct game_drawstate {
     int cur_x, cur_y; /* -1, -1 for no cursor displayed. */
 };
 
-static char *interpret_move(game_state *from, game_ui *ui, game_drawstate *ds,
+static char *interpret_move(game_state *from, game_ui *ui, const game_drawstate *ds,
                            int x, int y, int button)
 {
     int cx, cy;