chiark / gitweb /
Bah. Try the r5766 fix again, this time without the typo.
authorSimon Tatham <anakin@pobox.com>
Wed, 11 May 2005 18:49:42 +0000 (18:49 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 11 May 2005 18:49:42 +0000 (18:49 +0000)
[originally from svn r5767]
[r5766 == 701cd045b36f9be1b0b8cfb74d9c191cb5813e98]

twiddle.c

index 7585239ed6125cbc81b16329852414fc89bdbc0c..589dbe69288d4b74bb8261cd0a17161b154b9dcb 100644 (file)
--- a/twiddle.c
+++ b/twiddle.c
@@ -700,7 +700,7 @@ static void draw_tile(frontend *fe, game_state *state, int x, int y,
      * 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)