~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]
/
range.c
diff --git
a/range.c
b/range.c
index
425259f
..
43231d9
100644
(file)
--- a/
range.c
+++ b/
range.c
@@
-1248,7
+1248,7
@@
struct game_drawstate {
#define COORD(x) ((x) * TILESIZE + BORDER)
#define FROMCOORD(x) (((x) - BORDER) / TILESIZE)
#define COORD(x) ((x) * TILESIZE + BORDER)
#define FROMCOORD(x) (((x) - BORDER) / TILESIZE)
-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)
{
enum {none, forwards, backwards, hint};
int x, int y, int button)
{
enum {none, forwards, backwards, hint};