ref: 7905d6dc07b5ba89fc3dfded3642fbcd599ae8e9
parent: a50a65120c3b4230b6a1b95a52c8b6d3299a43c7
author: Simon Tatham <anakin@pobox.com>
date: Wed Jun 1 02:47:55 EDT 2005
Typo in click bounds checking. [originally from svn r5890]
--- a/mines.c
+++ b/mines.c
@@ -2454,7 +2454,7 @@
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 ||