~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work around an annoying GTK behaviour I noticed the other day on my
[sgt/puzzles]
/
netslide.c
diff --git
a/netslide.c
b/netslide.c
index
076cad4
..
8d18652
100644
(file)
--- a/
netslide.c
+++ b/
netslide.c
@@
-1056,7
+1056,7
@@
struct game_drawstate {
};
static char *interpret_move(game_state *state, game_ui *ui,
};
static char *interpret_move(game_state *state, game_ui *ui,
- game_drawstate *ds, int x, int y, int button)
+
const
game_drawstate *ds, int x, int y, int button)
{
int cx, cy;
int dx, dy;
{
int cx, cy;
int dx, dy;