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]
This commit is contained in:
Simon Tatham
2009-06-21 13:28:43 +00:00
parent 4ecc4f92d8
commit 767ec24009

View File

@ -1954,7 +1954,8 @@ static void draw_tile(drawing *dr, game_drawstate *ds,
if (cur) { if (cur) {
int coff = TILESIZE/8; int coff = TILESIZE/8;
draw_rect_outline(dr, tx + coff, ty + coff, 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); unclip(dr);