New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt/puzzles] / solo.c
diff --git a/solo.c b/solo.c
index 43abc1f..d9bf18d 100644 (file)
--- a/solo.c
+++ b/solo.c
@@ -4511,7 +4511,7 @@ struct game_drawstate {
     int nregions, *entered_items;
 };
 
-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 cr = state->cr;