aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pearl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pearl.c b/pearl.c
index 2ff58f6..9037011 100644
--- a/pearl.c
+++ b/pearl.c
@@ -1967,7 +1967,7 @@ static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
ui->ndragcoords = -1;
return buf ? buf : "";
- } else if (ui->dragcoords == 0) {
+ } else if (ui->ndragcoords == 0) {
/* Click (or tiny drag). Work out which edge we were
* closest to. */
int cx, cy;