New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt/puzzles] / untangle.c
index c07c957..beb2871 100644 (file)
@@ -1072,7 +1072,7 @@ struct game_drawstate {
     long *x, *y;
 };
 
-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 n = state->params.n;