chiark / gitweb /
New rule: interpret_move() is passed a pointer to the game_drawstate
[sgt-puzzles.git] / guess.c
diff --git a/guess.c b/guess.c
index 88a0024e3745e9c4fac78bd32d88f91aa0381031..15cf0d99945164681707bf011a4aa0624dc75e54 100644 (file)
--- a/guess.c
+++ b/guess.c
@@ -632,7 +632,7 @@ static char *encode_move(game_state *from, game_ui *ui)
     return buf;
 }
 
-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 over_col = 0;           /* one-indexed */