Fix one-character typo in r9405 which was breaking right-clicks.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 13 Feb 2012 21:10:47 +0000 (21:10 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 13 Feb 2012 21:10:47 +0000 (21:10 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9406 cda61777-01e9-0310-a592-d414129be87e

pearl.c

diff --git a/pearl.c b/pearl.c
index 2ff58f6..9037011 100644 (file)
--- 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;