Forgot to add the new 'const' in the unfinished subdirectory. Oops.

[originally from svn r9659]
This commit is contained in:
Simon Tatham
2012-09-10 18:05:54 +00:00
parent 0880ef0583
commit 0e8a375814
4 changed files with 8 additions and 8 deletions

View File

@ -1213,8 +1213,8 @@ static int find_in_sequence(digit *seq, int len, digit n)
return -1; return -1;
} }
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds, static char *interpret_move(game_state *state, game_ui *ui,
int x, int y, int button) const game_drawstate *ds, int x, int y, int button)
{ {
int w = state->par.w; int w = state->par.w;
int tx, ty; int tx, ty;

View File

@ -718,8 +718,8 @@ struct game_drawstate {
int FIXME; int FIXME;
}; };
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds, static char *interpret_move(game_state *state, game_ui *ui,
int x, int y, int button) const game_drawstate *ds, int x, int y, int button)
{ {
return NULL; return NULL;
} }

View File

@ -1242,8 +1242,8 @@ struct game_drawstate {
int started; int started;
}; };
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds, static char *interpret_move(game_state *state, game_ui *ui,
int x, int y, int button) const game_drawstate *ds, int x, int y, int button)
{ {
int w = state->w, h = state->h, wh = w*h; int w = state->w, h = state->h, wh = w*h;
int tx, ty, i, j; int tx, ty, i, j;

View File

@ -1041,8 +1041,8 @@ int move_type(game_state *state, int dx, int dy)
} }
} }
static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds, static char *interpret_move(game_state *state, game_ui *ui,
int x, int y, int button) const game_drawstate *ds, int x, int y, int button)
{ {
int dx=0, dy=0; int dx=0, dy=0;
char *move; char *move;