New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt/puzzles] / dominosa.c
index 02e276c..2662410 100644 (file)
@@ -1001,7 +1001,7 @@ struct game_drawstate {
     unsigned long *visible;
 };
 
-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;