From: simon Date: Mon, 13 Feb 2012 21:10:47 +0000 (+0000) Subject: Fix one-character typo in r9405 which was breaking right-clicks. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/2c12137df43a55ee7598f9335fb56b26748386a2 Fix one-character typo in r9405 which was breaking right-clicks. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9406 cda61777-01e9-0310-a592-d414129be87e --- 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;