New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt/puzzles] / rect.c
diff --git a/rect.c b/rect.c
index 72a00e1..25b2132 100644 (file)
--- a/rect.c
+++ b/rect.c
@@ -2365,7 +2365,7 @@ struct game_drawstate {
     unsigned long *visible;
 };
 
-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 xc, yc;