~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Forgot to add the new 'const' in the unfinished subdirectory. Oops.
[sgt/puzzles]
/
unfinished
/
slide.c
diff --git
a/unfinished/slide.c
b/unfinished/slide.c
index
6fac469
..
38ef4d0
100644
(file)
--- a/
unfinished/slide.c
+++ b/
unfinished/slide.c
@@
-1242,8
+1242,8
@@
struct game_drawstate {
int started;
};
int started;
};
-static char *interpret_move(game_state *state, game_ui *ui,
game_drawstate *ds,
- int x, int y, int button)
+static char *interpret_move(game_state *state, game_ui *ui,
+
const game_drawstate *ds,
int x, int y, int button)
{
int w = state->w, h = state->h, wh = w*h;
int tx, ty, i, j;
{
int w = state->w, h = state->h, wh = w*h;
int tx, ty, i, j;