shithub: puzzles

Download patch

ref: 21629d7e44bb61a26ae5088f524eef85f96a9aab
parent: 0c13787c2a17adc891f8e47c06b259f80bc8251a
author: Simon Tatham <anakin@pobox.com>
date: Mon Feb 13 16:10:47 EST 2012

Fix one-character typo in r9405 which was breaking right-clicks.

[originally from svn r9406]
[r9405 == 0c13787c2a17adc891f8e47c06b259f80bc8251a]

--- a/pearl.c
+++ b/pearl.c
@@ -1967,7 +1967,7 @@
             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;