chiark / gitweb /
Fix one-character typo in r9405 which was breaking right-clicks.
authorSimon Tatham <anakin@pobox.com>
Mon, 13 Feb 2012 21:10:47 +0000 (21:10 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 13 Feb 2012 21:10:47 +0000 (21:10 +0000)
[originally from svn r9406]
[r9405 == 0c13787c2a17adc891f8e47c06b259f80bc8251a]

pearl.c

diff --git a/pearl.c b/pearl.c
index 2ff58f6309e987b637e0d5cd621674fabf5a5f92..9037011c2606c5bc3fdae2225a5b32c4f05ecc11 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;