From: Simon Tatham Date: Sun, 21 Jun 2009 13:28:43 +0000 (+0000) Subject: Patch from Mark Wooding: one-pixel fix to the alignment of the X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=767ec240093fd8f9528bd8636e93c49708bd7a35;p=sgt-puzzles.git Patch from Mark Wooding: one-pixel fix to the alignment of the bottom and right edges of the Tents keyboard cursor. [originally from svn r8598] --- diff --git a/tents.c b/tents.c index 6f6e343..eb9df8b 100644 --- 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);