~mdw
/
sgt
/
puzzles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93b1da3
)
Typo in click bounds checking.
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 1 Jun 2005 06:47:55 +0000
(06:47 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 1 Jun 2005 06:47:55 +0000
(06:47 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@5890
cda61777
-01e9-0310-a592-
d414129be87e
mines.c
patch
|
blob
|
blame
|
history
diff --git
a/mines.c
b/mines.c
index
fcf439d
..
6a3d7aa
100644
(file)
--- a/
mines.c
+++ b/
mines.c
@@
-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 ||