chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ecc4f9
)
Patch from Mark Wooding: one-pixel fix to the alignment of the
author
Simon Tatham
<anakin@pobox.com>
Sun, 21 Jun 2009 13:28:43 +0000
(13:28 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Sun, 21 Jun 2009 13:28:43 +0000
(13:28 +0000)
bottom and right edges of the Tents keyboard cursor.
[originally from svn r8598]
tents.c
patch
|
blob
|
history
diff --git
a/tents.c
b/tents.c
index 6f6e3434ba2036999f233fa112c425e3ae78b0ae..eb9df8bce3e438523d08a4e5c225f2a43aa78db2 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);