Patch from Mark Wooding: one-pixel fix to the alignment of the
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 21 Jun 2009 13:28:43 +0000 (13:28 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 21 Jun 2009 13:28:43 +0000 (13:28 +0000)
bottom and right edges of the Tents keyboard cursor.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8598 cda61777-01e9-0310-a592-d414129be87e

tents.c

diff --git a/tents.c b/tents.c
index 6f6e343..eb9df8b 100644 (file)
--- a/tents.c
+++ b/tents.c
@@ -1954,7 +1954,8 @@ static void draw_tile(drawing *dr, game_drawstate *ds,
     if (cur) {
       int coff = TILESIZE/8;
       draw_rect_outline(dr, tx + coff, ty + coff,
-                        TILESIZE - coff*2, TILESIZE - coff*2, COL_GRID);
+                        TILESIZE - coff*2 + 1, TILESIZE - coff*2 + 1,
+                       COL_GRID);
     }
 
     unclip(dr);