shithub: puzzles

Download patch

ref: 18a8df1b9d06052ee3dba05202039cc2e8ee4f8d
parent: 701cd045b36f9be1b0b8cfb74d9c191cb5813e98
author: Simon Tatham <anakin@pobox.com>
date: Wed May 11 14:49:42 EDT 2005

Bah. Try the r5766 fix again, this time without the typo.

[originally from svn r5767]
[r5766 == 701cd045b36f9be1b0b8cfb74d9c191cb5813e98]

--- a/twiddle.c
+++ b/twiddle.c
@@ -700,7 +700,7 @@
      * new move is also being made.
      */
     if (rot && (x < rot->cx || y < rot->cy ||
-                x >= rot->cx+rot->cw || y > rot->cy+rot->ch))
+                x >= rot->cx+rot->cw || y >= rot->cy+rot->ch))
         rot = NULL;
 
     if (rot)