Typo in click bounds checking.

[originally from svn r5890]
This commit is contained in:
Simon Tatham
2005-06-01 06:47:55 +00:00
parent a50a65120c
commit 7905d6dc07

View File

@ -2454,7 +2454,7 @@ static game_state *make_move(game_state *from, game_ui *ui, game_drawstate *ds,
cx = FROMCOORD(x);
cy = FROMCOORD(y);
if (cx < 0 || cx >= from->w || cy < 0 || cy > from->h)
if (cx < 0 || cx >= from->w || cy < 0 || cy >= from->h)
return NULL;
if (button == LEFT_BUTTON || button == LEFT_DRAG ||