ref: 767ec240093fd8f9528bd8636e93c49708bd7a35
parent: 4ecc4f92d8c385e5bfed23c99018571a28c9711b
author: Simon Tatham <[email protected]>
date: Sun Jun 21 09:28:43 EDT 2009
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]
--- a/tents.c
+++ b/tents.c
@@ -1954,7 +1954,8 @@
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);