New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt/puzzles] / keen.c
diff --git a/keen.c b/keen.c
index 3776283..5087465 100644 (file)
--- a/keen.c
+++ b/keen.c
@@ -1512,7 +1512,7 @@ static int check_errors(game_state *state, long *errors)
     return errs;
 }
 
-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->par.w;